zhanghl
2025-05-06 04d2803720568c1e7227e205d0f27cf9b83a2f00
aps-modules/aps-gen/src/main/resources/mapper/generator/GenTableMapper.xml
@@ -61,10 +61,10 @@
      <include refid="selectGenTableVo"/>
      <where>
         <if test="tableName != null and tableName != ''">
            AND lower(table_name) like lower(concat('%', #{tableName}, '%'))
            AND lower(table_name) like '%'||  #{tableName}|| '%'
         </if>
         <if test="tableComment != null and tableComment != ''">
            AND lower(table_comment) like lower(concat('%', #{tableComment}, '%'))
            AND lower(table_comment) like '%' || #{tableComment} ||'%'
         </if>
         <if test="params.beginTime != null and params.beginTime != ''"><!-- 开始时间检索 -->
            and to_char(create_time,'yyyy-MM-dd') &gt;= to_char(#{params.beginTime},'yyyy-MM-dd')
@@ -81,10 +81,10 @@
      WHERE 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}, '%'))
         AND lower(table_name) like '%'|| #{tableName}||'%'
      </if>
      <if test="tableComment != null and tableComment != ''">
         AND lower(table_comment) like lower(concat('%', #{tableComment}, '%'))
         AND lower(table_comment) like '%'|| #{tableComment}||'%'
      </if>
      <if test="params.beginTime != null and params.beginTime != ''"><!-- 开始时间检索 -->
         and create_time::date &gt;= to_date(#{params.beginTime},'yyyy-MM-dd')