修改 总装

master
wangh 3 years ago
parent e9ffe6131d
commit 4cb7f59213

@ -86,9 +86,9 @@ public interface BroadDataMapper {
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();
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
public List<OrderInfo> mtk_selectOrderInfoBy3d() {
public List<BoxOutput> mtk_selectOrderInfoBy3d() {
return mapper.mtk_selectOrderInfoBy3d();
}
@Override
public List<OrderInfo> mtk_selectOrderInfoBy3dTatle() {
public List<BoxOutput> mtk_selectOrderInfoBy3dTatle() {
return mapper.mtk_selectOrderInfoBy3dTatle();
}
@Override
public List<OrderInfo> zz_selectInstoreNumByday() {
public List<BoxOutput> zz_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
</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
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')
@ -655,7 +655,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.OrderInfo">
<select id="mtk_selectOrderInfoBy3d" resultType="com.ruoyi.system.domain.BoxOutput">
select substr(ORDER_NO, 5, length(ORDER_NO)) || '(' || substr(
substr(MATERIAL_NAME,
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>
<select id="mtk_selectInstoreNumByday" resultType="com.ruoyi.system.domain.OrderInfo">
<select id="mtk_selectInstoreNumByday" resultType="com.ruoyi.system.domain.BoxOutput">
select substr(
MATERIAL_NAME,
instr(MATERIAL_NAME, '-', 1, 1) + 1,

Loading…
Cancel
Save