diff --git a/jero-boot-incoming-payment/src/main/java/com/jero/meeting/mapper/xml/PayMeetingMapper.xml b/jero-boot-incoming-payment/src/main/java/com/jero/meeting/mapper/xml/PayMeetingMapper.xml index 3a6fc209..25596ea8 100644 --- a/jero-boot-incoming-payment/src/main/java/com/jero/meeting/mapper/xml/PayMeetingMapper.xml +++ b/jero-boot-incoming-payment/src/main/java/com/jero/meeting/mapper/xml/PayMeetingMapper.xml @@ -77,10 +77,10 @@ pm.create_time as create_time, GROUP_CONCAT(pms.company_contact_id) company_contact_ids, (case - when date_format(start_time, '%Y-%m-%d') > #{now} then 2 - when date_format(start_time, '%Y-%m-%d') #{now} - and #{now} date_format(end_time, '%Y-%m-%d') then 3 - when date_format(end_time, '%Y-%m-%d') #{now} then 4 + when start_time > #{now} then 2 + when start_time #{now} + and #{now} end_time then 3 + when end_time #{now} then 4 END ) as meetingStatus from pay_meeting pm @@ -132,10 +132,10 @@ pm.id, pm.create_time as create_time, (case - when date_format(start_time, '%Y-%m-%d') > #{now} then 2 - when date_format(start_time, '%Y-%m-%d') #{now} - and #{now} date_format(end_time, '%Y-%m-%d') then 3 - when date_format(end_time, '%Y-%m-%d') #{now} then 4 + when start_time > #{now} then 2 + when start_time #{now} + and #{now} end_time then 3 + when end_time #{now} then 4 END ) as meetingStatus from pay_meeting pm @@ -148,10 +148,10 @@ select *, (case - when date_format(start_time, '%Y-%m-%d') > #{now} then 2 - when date_format(start_time, '%Y-%m-%d') #{now} - and #{now} date_format(end_time, '%Y-%m-%d') then 3 - when date_format(end_time, '%Y-%m-%d') #{now} then 4 + when start_time > #{now} then 2 + when start_time #{now} + and #{now} end_time then 3 + when end_time #{now} then 4 END ) as meetingStatus from pay_meeting pm where id = #{id}