From dfa0c439d2d7626d56c37dbee2f72f5e5cd0f553 Mon Sep 17 00:00:00 2001
From: huangjiayang <5265313@qq.com>
Date: 星期三, 07 五月 2025 15:42:56 +0800
Subject: [PATCH] 【UPDATE】钣金供应缺口报表接口
---
aps-modules/aps-gen/src/main/resources/mapper/generator/GenTableMapper.xml | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/aps-modules/aps-gen/src/main/resources/mapper/generator/GenTableMapper.xml b/aps-modules/aps-gen/src/main/resources/mapper/generator/GenTableMapper.xml
index d901fb5..167a3c9 100644
--- a/aps-modules/aps-gen/src/main/resources/mapper/generator/GenTableMapper.xml
+++ b/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') >= 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 >= to_date(#{params.beginTime},'yyyy-MM-dd')
--
Gitblit v1.9.3