修改 总装

master
wangh 3 years ago
parent cb79263347
commit 5b2a265770

@ -1,8 +1,8 @@
package com.ruoyi.web.controller.broad;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.json.JSONObject;
import com.ruoyi.system.domain.BaseTeam;
import com.ruoyi.system.service.IBaseTeamService;
import com.ruoyi.system.service.IBroadDataService;
@ -48,4 +48,10 @@ public class MTKController {
return JSONArray.toJSONString(service.mtk_selectOrderInfoBy3dTatle());
}
@PostMapping("/selectInstoreNumByday")
@ApiOperation("当日入库订单统计")
private String mtk_selectInstoreNumByday(){
return JSONObject.toJSONString(service.zz_selectInstoreNumByday());
}
}

@ -82,11 +82,7 @@ public class ZZJXBroadController {
return JSONObject.toJSONString(service.zz_selectInStoreOrderInfo());
}
@PostMapping("/selectInstoreNumByday")
@ApiOperation("当日入库订单统计")
private String zz_selectInstoreNumByday(){
return JSONObject.toJSONString(service.zz_selectInstoreNumByday());
}
}

@ -87,6 +87,8 @@ public interface BroadDataMapper {
BoxOutput zz_selectOneBadRateMb();
List<OrderInfo> mtk_selectOrderInfoBy3d();
List<OrderInfo> mtk_selectOrderInfoBy3dTatle();
List<OrderInfo> zz_selectInstoreNumByday();
List<OrderInfo> mtk_selectInstoreNumByday();
}

@ -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,

Loading…
Cancel
Save