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