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

master
xiaoshitou 3 years ago committed by Gitee
parent a15bfdfb46
commit a56bc47a81
  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