From 349082bae45f903bb4a300386c87a932d419f9a7 Mon Sep 17 00:00:00 2001
From: lizhenhua <1075222162@qq.com>
Date: Mon, 15 Sep 2025 13:45:46 +0800
Subject: [PATCH] =?UTF-8?q?bug=20=E6=8A=95=E8=AF=89=E5=BB=BA=E8=AE=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../mapper/basic/BasicCanteenSuggestionMapper.xml | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/basic/BasicCanteenSuggestionMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/basic/BasicCanteenSuggestionMapper.xml
index 0a69806..e7c1f4d 100644
--- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/basic/BasicCanteenSuggestionMapper.xml
+++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/basic/BasicCanteenSuggestionMapper.xml
@@ -21,15 +21,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select bcs.suggestion_id, bcs.user_id, bcs.content, bcs.canteen_id, bcs.contact_tel, bcs.reply_content,
- bcs.reply_state, bcs.reply_user_id, bcs.create_by, bcs.create_time, bcs.update_by, bcs.update_time,
+ bcs.reply_state, bcs.reply_user_id, su.nick_name as create_by, bcs.create_time, bcs.update_by, bcs.update_time,
bc.canteen_name
from basic_canteen_suggestion bcs
left join basic_canteen bc on bc.canteen_id = bcs.canteen_id
+ left join sys_user su on su.user_id = bcs.user_id
-
+
-
+
insert into basic_canteen_suggestion
@@ -102,9 +103,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
- delete from basic_canteen_suggestion where suggestion_id in
+ delete from basic_canteen_suggestion where suggestion_id in
#{suggestionId}
-
\ No newline at end of file
+