|
|
|
@ -600,6 +600,12 @@
|
|
|
|
|
LEFT JOIN USER_GROUP ug ON ug.USER_GROUP = zabd.RESOLVE_SEND_USER_GROUP AND ug.SITE = zab.SITE
|
|
|
|
|
<where>
|
|
|
|
|
zab.SITE = #{site}
|
|
|
|
|
<if test="abnormalNo != null and abnormalNo != ''">
|
|
|
|
|
AND zab.ABNORMAL_NO = #{abnormalNo}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="sfc != null and sfc != ''">
|
|
|
|
|
AND zab.sfc = #{sfc}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="workCenter != null and workCenter != ''">
|
|
|
|
|
AND (wc.WORK_CENTER = #{workCenter} OR wct.DESCRIPTION = #{workCenter})
|
|
|
|
|
</if>
|
|
|
|
|