Browse Source

代码生成导入表按创建时间排序

tags/v3.2.0
RuoYi 3 years ago
parent
commit
4a32a8e725
  1. 1
      ruoyi-modules/ruoyi-gen/src/main/resources/mapper/generator/GenTableMapper.xml

1
ruoyi-modules/ruoyi-gen/src/main/resources/mapper/generator/GenTableMapper.xml

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

Loading…
Cancel
Save