From 3d191e81842cf3bcd6f841fbe2fc3d451c45ef99 Mon Sep 17 00:00:00 2001
From: hongjli <3117313295@qq.com>
Date: 星期三, 14 五月 2025 13:54:40 +0800
Subject: [PATCH] 钣金计划大表增加“异常状态”字段
---
aps-modules/aps-system/src/main/resources/mapper/system/SysPostMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/aps-modules/aps-system/src/main/resources/mapper/system/SysPostMapper.xml b/aps-modules/aps-system/src/main/resources/mapper/system/SysPostMapper.xml
index 830e8fe..3a68bd2 100644
--- a/aps-modules/aps-system/src/main/resources/mapper/system/SysPostMapper.xml
+++ b/aps-modules/aps-system/src/main/resources/mapper/system/SysPostMapper.xml
@@ -26,13 +26,13 @@
<include refid="selectPostVo"/>
<where>
<if test="postCode != null and postCode != ''">
- AND post_code like concat('%', #{postCode}, '%')
+ AND post_code like '%' || #{postCode} || '%'
</if>
<if test="status != null and status != ''">
AND status = #{status}
</if>
<if test="postName != null and postName != ''">
- AND post_name like concat('%', #{postName}, '%')
+ AND post_name like '%' || #{postName} || '%'
</if>
</where>
</select>
--
Gitblit v1.9.3