Browse Source

审核未通过

feature/dangjian
曲树通 6 years ago
parent
commit
f26b6e8a4a
  1. 9
      esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/resources/mapper/activity/ActInfoDao.xml

9
esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/resources/mapper/activity/ActInfoDao.xml

@ -228,7 +228,8 @@
and relation.USER_ID = #{userId} and relation.USER_ID = #{userId}
and relation.STATUS != '3' and relation.STATUS != '3'
and actInfo.ID = relation.ACT_ID and actInfo.ID = relation.ACT_ID
LEFT JOIN ( SELECT count( * ) AS clockCount, ACT_USER_ID FROM epdc_act_user_clock_log WHERE DEL_FLAG = '0' GROUP BY ACT_USER_ID ) clock ON clock.ACT_USER_ID = relation.ID LEFT JOIN ( SELECT count( * ) AS clockCount, ACT_USER_ID FROM epdc_act_user_clock_log WHERE DEL_FLAG = '0' GROUP
BY ACT_USER_ID ) clock ON clock.ACT_USER_ID = relation.ID
WHERE WHERE
actInfo.DEL_FLAG = '0' actInfo.DEL_FLAG = '0'
and relation.USER_ID = #{userId} and relation.USER_ID = #{userId}
@ -403,9 +404,11 @@
left join epdc_act_user_relation relation on aul.ACT_USER_RELATION_ID = relation.id and relation.DEL_FLAG = '0' left join epdc_act_user_relation relation on aul.ACT_USER_RELATION_ID = relation.id and relation.DEL_FLAG = '0'
left join epdc_act_info actInfo on actInfo.ID = relation.ACT_ID and actInfo.DEL_FLAG = '0' left join epdc_act_info actInfo on actInfo.ID = relation.ACT_ID and actInfo.DEL_FLAG = '0'
WHERE WHERE
aul.DEL_FLAG = '0' AND aul.ID = #{id} aul.DEL_FLAG = '0'
AND actInfo.id = #{id}
ORDER BY ORDER BY
actInfo.CREATED_TIME DESC aul.CREATED_TIME DESC
limit 1
</select> </select>
<select id="getCancelDetailByApp" resultMap="actDetailAppResultMap"> <select id="getCancelDetailByApp" resultMap="actDetailAppResultMap">
SELECT SELECT

Loading…
Cancel
Save