|
|
|
|
@ -615,7 +615,7 @@ from (
|
|
|
|
|
where to_char(ippi.CREATION_DATE, 'yyyy-MM-dd') = to_char(sysdate, 'yyyy-MM-dd') and ippi. DELETE_FLAG=0
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="mtk_selectOrderInfoBy3dTatle" resultType="com.ruoyi.system.domain.BoxOutput">
|
|
|
|
|
<select id="mtk_selectOrderInfoBy3dTatle" resultType="com.ruoyi.system.domain.OrderInfo">
|
|
|
|
|
select sum(ORDER_QTY) as qty, '订单数量' as name
|
|
|
|
|
from IMOS_PR_ORDER
|
|
|
|
|
where FINISH_DATE between to_date(to_char(SYSDATE - 3, 'yyyy-MM-dd') || '00:00:00', 'yyyy-MM-dd hh24:mi:ss')
|
|
|
|
|
@ -652,7 +652,7 @@ from (
|
|
|
|
|
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 id="mtk_selectOrderInfoBy3d" resultType="com.ruoyi.system.domain.OrderInfo">
|
|
|
|
|
select substr(ORDER_NO, 5, length(ORDER_NO)) || '(' || substr(
|
|
|
|
|
substr(MATERIAL_NAME,
|
|
|
|
|
instr(MATERIAL_NAME, '-', 1, 1) + 1,
|
|
|
|
|
@ -672,7 +672,7 @@ 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 id="mtk_selectInstoreNumByday" resultType="com.ruoyi.system.domain.OrderInfo">
|
|
|
|
|
select substr(
|
|
|
|
|
MATERIAL_NAME,
|
|
|
|
|
instr(MATERIAL_NAME, '-', 1, 1) + 1,
|
|
|
|
|
|