|
@@ -323,7 +323,7 @@
|
|
|
select cf.id as feedbackId, a.authParty as clubName, cu.mobile, content, commitTime, handleStatus, handleResult,
|
|
|
handleTime
|
|
|
from cm_brand_club_feedback cf
|
|
|
- left join cm_brand_club_user cu on cf.clubUserId = cu.id
|
|
|
+ left join cm_brand_club_user cu on cf.clubUserId = cu.id and cu.delFlag = 0
|
|
|
left join cm_brand_auth a on cu.authId = a.id
|
|
|
left join cm_brand_auth_user au on cu.authUserId = au.authUserId
|
|
|
where (a.authUserId = #{authUserId} or au.authUserId = #{authUserId})
|
|
@@ -340,7 +340,7 @@
|
|
|
<select id="getFeedback" resultType="com.caimei.model.vo.FeedbackVo">
|
|
|
select cf.id as feedbackId, a.authParty as clubName, cu.mobile, content, commitTime, handleStatus, handleResult, handleTime
|
|
|
from cm_brand_club_feedback cf
|
|
|
- left join cm_brand_club_user cu on cf.clubUserId = cu.id
|
|
|
+ left join cm_brand_club_user cu on cf.clubUserId = cu.id and cu.delFlag = 0
|
|
|
left join cm_brand_auth a on cu.authId = a.id
|
|
|
where cf.id = #{feedbackId}
|
|
|
</select>
|