|
|
@@ -67,7 +67,7 @@ |
|
|
|
|
|
|
|
<select id="listExpertLastByMeetingIds" resultType="com.ningdatech.pmapi.meeting.entity.domain.MeetingExpert"> |
|
|
|
SELECT * FROM (SELECT ROW_NUMBER() OVER ( PARTITION BY expert_id, meeting_id ORDER BY update_on DESC ) rowNumber, |
|
|
|
ID, expert_id, status, meeting_id, invite_type, mobile, expert_name, update_on, rule_id FROM meeting_expert |
|
|
|
ID, expert_id, status, meeting_id, invite_type, mobile, expert_name, update_on, rule_id, create_on FROM meeting_expert |
|
|
|
where meeting_id <foreach collection="meetingIds" separator="," close=")" open=" in (" item="item"> |
|
|
|
#{item}</foreach>) em WHERE rowNumber = 1 |
|
|
|
</select> |
|
|
|