!308 代码生成: 导入表时查询 新创建表的优先排序在前面

Merge pull request !308 from xiaoshitou/N/A
master
若依 3 years ago committed by Gitee
commit cfa86bd4fe
  1. 1
      ruoyi-generator/src/main/resources/mapper/generator/GenTableMapper.xml

@ -92,6 +92,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="params.endTime != null and params.endTime != ''"><!-- 结束时间检索 --> <if test="params.endTime != null and params.endTime != ''"><!-- 结束时间检索 -->
AND date_format(create_time,'%y%m%d') &lt;= date_format(#{params.endTime},'%y%m%d') AND date_format(create_time,'%y%m%d') &lt;= date_format(#{params.endTime},'%y%m%d')
</if> </if>
order by create_time desc
</select> </select>
<select id="selectDbTableListByNames" resultMap="GenTableResult"> <select id="selectDbTableListByNames" resultMap="GenTableResult">

Loading…
Cancel
Save