每日生产状态报表

master
zpl 3 years ago
parent a6d4b86301
commit 05232d0a31

@ -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>

Loading…
Cancel
Save