修改 总装

master
wangh 4 years ago
parent e9ffe6131d
commit 4cb7f59213

@ -86,9 +86,9 @@ public interface BroadDataMapper {
BoxOutput zz_selectOneBadRateMb(); BoxOutput zz_selectOneBadRateMb();
List<OrderInfo> mtk_selectOrderInfoBy3d(); List<BoxOutput> mtk_selectOrderInfoBy3d();
List<OrderInfo> mtk_selectOrderInfoBy3dTatle(); List<BoxOutput> mtk_selectOrderInfoBy3dTatle();
List<OrderInfo> mtk_selectInstoreNumByday(); List<BoxOutput> mtk_selectInstoreNumByday();
} }

@ -68,9 +68,9 @@ public interface IBroadDataService {
BoxOutput zz_selectOneBadRateMb(); BoxOutput zz_selectOneBadRateMb();
List<OrderInfo> mtk_selectOrderInfoBy3d(); List<BoxOutput> mtk_selectOrderInfoBy3d();
List<OrderInfo> mtk_selectOrderInfoBy3dTatle(); List<BoxOutput> mtk_selectOrderInfoBy3dTatle();
List<OrderInfo> zz_selectInstoreNumByday(); List<BoxOutput> zz_selectInstoreNumByday();
} }

@ -121,16 +121,16 @@ public class BroadDataServiceImpl implements IBroadDataService
} }
@Override @Override
public List<OrderInfo> mtk_selectOrderInfoBy3d() { public List<BoxOutput> mtk_selectOrderInfoBy3d() {
return mapper.mtk_selectOrderInfoBy3d(); return mapper.mtk_selectOrderInfoBy3d();
} }
@Override @Override
public List<OrderInfo> mtk_selectOrderInfoBy3dTatle() { public List<BoxOutput> mtk_selectOrderInfoBy3dTatle() {
return mapper.mtk_selectOrderInfoBy3dTatle(); return mapper.mtk_selectOrderInfoBy3dTatle();
} }
@Override @Override
public List<OrderInfo> zz_selectInstoreNumByday() { public List<BoxOutput> zz_selectInstoreNumByday() {
return mapper.mtk_selectInstoreNumByday(); return mapper.mtk_selectInstoreNumByday();
} }
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////

@ -618,7 +618,7 @@ from (
where to_char(ippi.CREATION_DATE, 'yyyy-MM-dd') = to_char(sysdate, 'yyyy-MM-dd') and ippi. DELETE_FLAG=0 where to_char(ippi.CREATION_DATE, 'yyyy-MM-dd') = to_char(sysdate, 'yyyy-MM-dd') and ippi. DELETE_FLAG=0
</select> </select>
<select id="mtk_selectOrderInfoBy3dTatle" resultType="com.ruoyi.system.domain.OrderInfo"> <select id="mtk_selectOrderInfoBy3dTatle" resultType="com.ruoyi.system.domain.BoxOutput">
select sum(ORDER_QTY) as qty, '订单数量' as name select sum(ORDER_QTY) as qty, '订单数量' as name
from IMOS_PR_ORDER 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') where FINISH_DATE between to_date(to_char(SYSDATE - 3, 'yyyy-MM-dd') || '00:00:00', 'yyyy-MM-dd hh24:mi:ss')
@ -655,7 +655,7 @@ from (
from IMOS_PR_PRODUCT_IN from IMOS_PR_PRODUCT_IN
where to_char(CREATION_DATE, 'yyyy-MM-dd') = to_char(sysdate, 'yyyy-MM-dd') where to_char(CREATION_DATE, 'yyyy-MM-dd') = to_char(sysdate, 'yyyy-MM-dd')
</select> </select>
<select id="mtk_selectOrderInfoBy3d" resultType="com.ruoyi.system.domain.OrderInfo"> <select id="mtk_selectOrderInfoBy3d" resultType="com.ruoyi.system.domain.BoxOutput">
select substr(ORDER_NO, 5, length(ORDER_NO)) || '(' || substr( select substr(ORDER_NO, 5, length(ORDER_NO)) || '(' || substr(
substr(MATERIAL_NAME, substr(MATERIAL_NAME,
instr(MATERIAL_NAME, '-', 1, 1) + 1, instr(MATERIAL_NAME, '-', 1, 1) + 1,
@ -675,7 +675,7 @@ from (
select * from (select rate,'不合格率目标' from haiwei.BASE_ONE_UNQUQLIFIED_RATE order by CREATE_TIME desc) where ROWNUM=1 select * from (select rate,'不合格率目标' from haiwei.BASE_ONE_UNQUQLIFIED_RATE order by CREATE_TIME desc) where ROWNUM=1
</select> </select>
<select id="mtk_selectInstoreNumByday" resultType="com.ruoyi.system.domain.OrderInfo"> <select id="mtk_selectInstoreNumByday" resultType="com.ruoyi.system.domain.BoxOutput">
select substr( select substr(
MATERIAL_NAME, MATERIAL_NAME,
instr(MATERIAL_NAME, '-', 1, 1) + 1, instr(MATERIAL_NAME, '-', 1, 1) + 1,

Loading…
Cancel
Save