|
|
|
|
@ -645,9 +645,12 @@ from (
|
|
|
|
|
'yyyy-MM-dd hh24:mi:ss')
|
|
|
|
|
and to_date(to_char(SYSDATE - 1, 'yyyy-MM-dd') || '00:00:00',
|
|
|
|
|
'yyyy-MM-dd hh24:mi:ss')
|
|
|
|
|
) * 100, 2) as qty,
|
|
|
|
|
'清单率' as name
|
|
|
|
|
) * 100, 2) as qty, '清单率' as name
|
|
|
|
|
from DUAL
|
|
|
|
|
union
|
|
|
|
|
select sum(IN_QTY) as qty, '入库订单统计' as name
|
|
|
|
|
from IMOS_PR_PRODUCT_IN
|
|
|
|
|
where to_char(CREATION_DATE, 'yyyy-MM-dd') = to_char(sysdate, 'yyyy-MM-dd')
|
|
|
|
|
</select>
|
|
|
|
|
<select id="mtk_selectOrderInfoBy3d" resultType="com.ruoyi.system.domain.BoxOutput">
|
|
|
|
|
select substr(ORDER_NO, 5, length(ORDER_NO)) || '(' || substr(
|
|
|
|
|
@ -669,5 +672,16 @@ from (
|
|
|
|
|
select * from (select rate,'不合格率目标' from haiwei.BASE_ONE_UNQUQLIFIED_RATE order by CREATE_TIME desc) where ROWNUM=1
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="zz_selectInstoreNumByday" resultType="com.ruoyi.system.domain.BoxOutput">
|
|
|
|
|
select substr(
|
|
|
|
|
MATERIAL_NAME,
|
|
|
|
|
instr(MATERIAL_NAME, '-', 1, 1) + 1,
|
|
|
|
|
instr(MATERIAL_NAME, ',', 1, 1) - 2 - instr(MATERIAL_NAME, '-', 1, 1) + 1) as name,
|
|
|
|
|
IN_QTY as qty
|
|
|
|
|
from IMOS_PR_PRODUCT_IN
|
|
|
|
|
|
|
|
|
|
where to_char(CREATION_DATE, 'yyyy-MM-dd') = to_char(sysdate, 'yyyy-MM-dd')
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</mapper>
|