fix 47074 企业端--会议--查询进行中的会议--出现了已结束的会议
This commit is contained in:
+16
-16
@@ -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') <![CDATA[<=]]> #{now}
|
||||
and #{now} <![CDATA[<=]]> date_format(end_time, '%Y-%m-%d') then 3
|
||||
when date_format(end_time, '%Y-%m-%d') <![CDATA[<=]]> #{now} then 4
|
||||
when start_time > #{now} then 2
|
||||
when start_time <![CDATA[<=]]> #{now}
|
||||
and #{now} <![CDATA[<=]]> end_time then 3
|
||||
when end_time <![CDATA[<]]> #{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') <![CDATA[<=]]> #{now}
|
||||
and #{now} <![CDATA[<=]]> date_format(end_time, '%Y-%m-%d') then 3
|
||||
when date_format(end_time, '%Y-%m-%d') <![CDATA[<=]]> #{now} then 4
|
||||
when start_time > #{now} then 2
|
||||
when start_time <![CDATA[<=]]> #{now}
|
||||
and #{now} <![CDATA[<=]]> end_time then 3
|
||||
when end_time <![CDATA[<]]> #{now} then 4
|
||||
END
|
||||
) as meetingStatus
|
||||
from pay_meeting pm
|
||||
@@ -148,10 +148,10 @@
|
||||
<select id="pageListContract3" resultMap="PayMeetingResultMap">
|
||||
SELECT *,
|
||||
(case
|
||||
when date_format(start_time, '%Y-%m-%d') > #{now} then 2
|
||||
when date_format(start_time, '%Y-%m-%d') <![CDATA[<=]]> #{now}
|
||||
and #{now} <![CDATA[<=]]> date_format(end_time, '%Y-%m-%d') then 3
|
||||
when date_format(end_time, '%Y-%m-%d') <![CDATA[<=]]> #{now} then 4
|
||||
when start_time > #{now} then 2
|
||||
when start_time <![CDATA[<=]]> #{now}
|
||||
and #{now} <![CDATA[<=]]> end_time then 3
|
||||
when end_time <![CDATA[<]]> #{now} then 4
|
||||
END
|
||||
) as meetingStatus
|
||||
FROM (
|
||||
@@ -238,10 +238,10 @@
|
||||
<select id="queryByIdAndTime" resultMap="PayMeetingResultMap">
|
||||
select *,
|
||||
(case
|
||||
when date_format(start_time, '%Y-%m-%d') > #{now} then 2
|
||||
when date_format(start_time, '%Y-%m-%d') <![CDATA[<=]]> #{now}
|
||||
and #{now} <![CDATA[<=]]> date_format(end_time, '%Y-%m-%d') then 3
|
||||
when date_format(end_time, '%Y-%m-%d') <![CDATA[<=]]> #{now} then 4
|
||||
when start_time > #{now} then 2
|
||||
when start_time <![CDATA[<=]]> #{now}
|
||||
and #{now} <![CDATA[<=]]> end_time then 3
|
||||
when end_time <![CDATA[<]]> #{now} then 4
|
||||
END
|
||||
) as meetingStatus
|
||||
from pay_meeting pm where id = #{id}
|
||||
|
||||
Reference in New Issue
Block a user