|
@@ -91,10 +91,10 @@
|
|
AND job_type IN ( 'NORMAL', 'REPORT' )
|
|
AND job_type IN ( 'NORMAL', 'REPORT' )
|
|
AND is_deleted = 0
|
|
AND is_deleted = 0
|
|
<if test="pm.startDate != null and pm.startDate !=''">
|
|
<if test="pm.startDate != null and pm.startDate !=''">
|
|
- AND finish_time <![CDATA[ >= ]]> #{pm.startDate}
|
|
|
|
|
|
+ AND last_enforce_date <![CDATA[ >= ]]> #{pm.startDate}
|
|
</if>
|
|
</if>
|
|
<if test="pm.endDate != null and pm.endDate !=''">
|
|
<if test="pm.endDate != null and pm.endDate !=''">
|
|
- AND finish_time <![CDATA[ <= ]]> #{pm.endDate}
|
|
|
|
|
|
+ AND last_enforce_date <![CDATA[ <= ]]> #{pm.endDate}
|
|
</if>
|
|
</if>
|
|
GROUP BY
|
|
GROUP BY
|
|
enforce_org_id
|
|
enforce_org_id
|