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 +