|
|
@ -79,9 +79,9 @@
|
|
|
|
LEFT JOIN RESRCE R ON R.RESRCE = ZSD.RESRCE
|
|
|
|
LEFT JOIN RESRCE R ON R.RESRCE = ZSD.RESRCE
|
|
|
|
LEFT JOIN ROUTER RU ON RU.HANDLE = ZSD.ROUTER_BO
|
|
|
|
LEFT JOIN ROUTER RU ON RU.HANDLE = ZSD.ROUTER_BO
|
|
|
|
WHERE ZSD.SITE = #{site}
|
|
|
|
WHERE ZSD.SITE = #{site}
|
|
|
|
<if test="itemNumber != null and itemNumber != ''" >
|
|
|
|
<!--<if test="itemNumber != null and itemNumber != ''" >
|
|
|
|
AND CFB.VALUE LIKE '%'||#{itemNumber}||'%'
|
|
|
|
AND CFB.VALUE LIKE '%'||#{itemNumber}||'%'
|
|
|
|
</if>
|
|
|
|
</if>-->
|
|
|
|
<if test="workOrder != null and workOrder != ''" >
|
|
|
|
<if test="workOrder != null and workOrder != ''" >
|
|
|
|
AND CFA.VALUE LIKE '%'||#{workOrder}||'%'
|
|
|
|
AND CFA.VALUE LIKE '%'||#{workOrder}||'%'
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|