From a8a2ea850139b9cccb756989fc70201f6a2a0550 Mon Sep 17 00:00:00 2001
From: sfd <sun.sunshine@163.com>
Date: 星期四, 15 五月 2025 14:39:43 +0800
Subject: [PATCH] 修改计划管理接口ajax返回值
---
aps-modules/aps-system/src/main/resources/mapper/system/SysPostMapper.xml | 8 ++++----
1 files changed, 4 insertions(+), 4 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 40c2319..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>
@@ -81,7 +81,7 @@
<if test="status != null and status != ''">status = #{status},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
- update_time = sysdate()
+ update_time = now()
</set>
where post_id = #{postId}
</update>
@@ -104,7 +104,7 @@
<if test="status != null and status != ''">#{status},</if>
<if test="remark != null and remark != ''">#{remark},</if>
<if test="createBy != null and createBy != ''">#{createBy},</if>
- sysdate()
+ now()
)
</insert>
--
Gitblit v1.9.3