|
|
@ -515,10 +515,10 @@ |
|
|
|
LEFT JOIN esua_epdc_news.epdc_news un ON find_in_set(t0.id, un.ALL_DEPT_IDS) |
|
|
|
AND un.DEL_FLAG = '0' |
|
|
|
<if test="operationStartTime != null and operationEndTime != null and operationEndTime != ''"> |
|
|
|
AND un.CREATED_TIME BETWEEN #{operationStartTime} AND #{operationEndTime} |
|
|
|
AND DATE_FORMAT(un.CREATED_TIME,'%Y-%m-%d') BETWEEN #{operationStartTime} AND #{operationEndTime} |
|
|
|
</if> |
|
|
|
<if test="endTime != null and endTime != ''"> |
|
|
|
and un.CREATED_TIME <=#{endTime} |
|
|
|
and DATE_FORMAT(un.CREATED_TIME,'%Y-%m-%d') <=#{endTime} |
|
|
|
</if> |
|
|
|
GROUP BY |
|
|
|
t0.id |
|
|
|