From d81be6b7dd0f2bbb31b59372b7e2c741ed771af6 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期六, 20 六月 2026 19:52:25 +0800
Subject: [PATCH] fix: 修复发货删除会查询出两条问题
---
src/main/resources/mapper/collaborativeApproval/NoticeMapper.xml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/mapper/collaborativeApproval/NoticeMapper.xml b/src/main/resources/mapper/collaborativeApproval/NoticeMapper.xml
index 5f646ad..dcb620a 100644
--- a/src/main/resources/mapper/collaborativeApproval/NoticeMapper.xml
+++ b/src/main/resources/mapper/collaborativeApproval/NoticeMapper.xml
@@ -3,7 +3,7 @@
<mapper namespace="com.ruoyi.collaborativeApproval.mapper.NoticeMapper">
<select id="listPage" resultType="com.ruoyi.collaborativeApproval.dto.NoticeDTO">
- select n.*, su.user_name as create_user_name
+ select n.*, su.nick_name as create_user_name
from notice n
left join sys_user su on n.create_user = su.user_id
<where>
@@ -11,11 +11,11 @@
and n.title like concat('%',#{ew.title},'%')
</if>
<if test="ew.type != null">
- and n.type = #{ew.type}
+ and n.type = #{ew.type}
</if>
<if test="ew.status != null">
and n.status = #{ew.status}
</if>
</where>
</select>
-</mapper>
\ No newline at end of file
+</mapper>
--
Gitblit v1.9.3