|
|
|
|
@ -599,8 +599,8 @@ from (
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="zz_selectInStoreOrderInfo" resultType="com.ruoyi.system.domain.OrderInfo">
|
|
|
|
|
select ippi.ORDER_NO as plan_code,
|
|
|
|
|
ippi.IN_QTY as actual_number,
|
|
|
|
|
select ippi.ORDER_NO as plan_code,
|
|
|
|
|
po.ACTUAL_QTY as actual_number,
|
|
|
|
|
substr(ippi.MATERIAL_NAME,
|
|
|
|
|
case
|
|
|
|
|
when instr(ippi.MATERIAL_NAME, '/', 1, 1) = 0 then 0
|
|
|
|
|
@ -608,11 +608,11 @@ from (
|
|
|
|
|
end,
|
|
|
|
|
length(ippi.MATERIAL_NAME)) as name,
|
|
|
|
|
ORDER_QTY as plan_number ,
|
|
|
|
|
round( ippi.IN_QTY/ORDER_QTY *100,2) as reat,
|
|
|
|
|
round( po.ACTUAL_QTY/ORDER_QTY *100,2) as reat,
|
|
|
|
|
ippi.CREATION_DATE as day
|
|
|
|
|
from IMOS_PR_PRODUCT_IN ippi
|
|
|
|
|
left join IMOS.IMOS_PR_ORDER po on ippi.ORDER_NO = po.ORDER_NO
|
|
|
|
|
where to_char(ippi.CREATION_DATE, 'yyyy-MM-dd') = to_char(sysdate, 'yyyy-MM-dd')
|
|
|
|
|
where to_char(ippi.CREATION_DATE, 'yyyy-MM-dd') = to_char(sysdate, 'yyyy-MM-dd') and ippi. DELETE_FLAG=0
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="zz_selectOneBadRateMb" resultType="com.ruoyi.system.domain.BoxOutput">
|
|
|
|
|
|