瀏覽代碼

!327 小写不起作用,大写后功能正常
Merge pull request !327 from yangyang/N/A

若依 3 年之前
父節點
當前提交
1530644de5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ruoyi-generator/src/main/resources/mapper/generator/GenTableMapper.xml

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

@@ -72,7 +72,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 	<select id="selectDbTableList" parameterType="GenTable" resultMap="GenTableResult">
 		select table_name, table_comment, create_time, update_time from information_schema.tables
 		where table_schema = (select database())
-		AND table_name NOT LIKE 'qrtz_%' AND table_name NOT LIKE 'gen_%'
+		AND table_name NOT LIKE 'QRTZ_%' AND table_name NOT LIKE 'gen_%'
 		AND table_name NOT IN (select table_name from gen_table)
 		<if test="tableName != null and tableName != ''">
 			AND lower(table_name) like lower(concat('%', #{tableName}, '%'))