|
@@ -14,7 +14,8 @@
|
|
INNER JOIN enforce_obj eo ON eoarh.enforce_obj_id = eo.id
|
|
INNER JOIN enforce_obj eo ON eoarh.enforce_obj_id = eo.id
|
|
LEFT JOIN enforce_job ej ON ej.enforce_obj_id = eo.id
|
|
LEFT JOIN enforce_job ej ON ej.enforce_obj_id = eo.id
|
|
where eo.is_deleted = 0
|
|
where eo.is_deleted = 0
|
|
- <if test="pm.architectureUuid != null and pm.architectureUuid != ''">
|
|
|
|
|
|
+ and ej.job_type in ('NORMAL','SPECIAL','REPORT','REVIEW','BRIGADE','OTHER')
|
|
|
|
+ <if test="pm.architectureUuid != null and pm.architectureUuid != ''">
|
|
and eoarh.after_architecture_uuid = #{pm.architectureUuid}
|
|
and eoarh.after_architecture_uuid = #{pm.architectureUuid}
|
|
</if>
|
|
</if>
|
|
<if test="pm.relateType != null">
|
|
<if test="pm.relateType != null">
|