Compare commits
2 Commits
12e9a4c02a
...
842390d66f
| Author | SHA1 | Date |
|---|---|---|
|
|
842390d66f | |
|
|
349082bae4 |
|
|
@ -21,10 +21,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
|
||||||
<sql id="selectBasicCanteenSuggestionVo">
|
<sql id="selectBasicCanteenSuggestionVo">
|
||||||
select bcs.suggestion_id, bcs.user_id, bcs.content, bcs.canteen_id, bcs.contact_tel, bcs.reply_content,
|
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
|
bc.canteen_name
|
||||||
from basic_canteen_suggestion bcs
|
from basic_canteen_suggestion bcs
|
||||||
left join basic_canteen bc on bc.canteen_id = bcs.canteen_id
|
left join basic_canteen bc on bc.canteen_id = bcs.canteen_id
|
||||||
|
left join sys_user su on su.user_id = bcs.user_id
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<select id="selectBasicCanteenSuggestionList" parameterType="com.bonus.canteen.core.basic.domain.BasicCanteenSuggestion" resultMap="BasicCanteenSuggestionResult">
|
<select id="selectBasicCanteenSuggestionList" parameterType="com.bonus.canteen.core.basic.domain.BasicCanteenSuggestion" resultMap="BasicCanteenSuggestionResult">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue