浏览代码

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

RuoYi 3 年之前
父节点
当前提交
c44c9187a9
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      ruoyi-generator/src/main/resources/mapper/generator/GenTableMapper.xml

+ 1 - 0
ruoyi-generator/src/main/resources/mapper/generator/GenTableMapper.xml

@@ -80,6 +80,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 		<if test="tableComment != null and tableComment != ''">
 			AND lower(table_comment) like lower(concat('%', #{tableComment}, '%'))
 		</if>
+        order by create_time desc
 	</select>
 	
 	<select id="selectDbTableListByNames" resultMap="GenTableResult">