BUG 处理

main
sunhao 2 days ago
parent f242f2f136
commit a610909797

@ -473,7 +473,7 @@ public class SubController {
GCalGrp GCG = new GCalGrp();
GCG.setLtInfoGPreOrder(new ArrayList<>());
e.getLtInfoGPreOrder().forEach(f -> {
e.getLtInfoGPreOrder().parallelStream().forEach(f -> {
//化学成分 chemical composition
if (!ChkChemical(SInfo, f)) {
@ -574,8 +574,16 @@ public class SubController {
//订单要求化学成分
// logger.info("化学成分订单号:" + GrpOrd.getOrderNo());
List<QdToLineupResultCheDO> ltLrc = new ArrayList<>();
// int i =plistQdToLineupResultCheDO.stream().filter(p->p.getCheType().equals(null)).collect(Collectors.toList()).size();
// logger.info("化学成分订单号:{}-{}" , GrpOrd.getOrderNo(),i);
int intOrd =plistQdToLineupResultCheDO.stream().filter(p->p.getOrderNo().equals(null)).collect(Collectors.toList()).size();
int intRX =plistQdToLineupResultCheDO.stream().filter(p->p.getCheType().equals(null)).collect(Collectors.toList()).size();
if (intOrd>0 || intRX>0)
{
logger.info("*************************化学成分订单号:{}-{}-{}" , GrpOrd.getOrderNo(),intOrd,intRX);
}
if (plistQdToLineupResultCheDO==null)
{
logger.info("*************************化学成分订单号:{}-{}-{}" , GrpOrd.getOrderNo(),intOrd,intRX);
}
if (plistQdToLineupResultCheDO.stream().anyMatch(p -> p.getOrderNo().equals(GrpOrd.getOrderNo()) && p.getCheType().equals("RX"))) {
ltLrc = plistQdToLineupResultCheDO.stream().filter(p -> p.getOrderNo().equals(SInfo.getOrderNo()) && p.getCheType().equals("RX")).collect(Collectors.toList());
}

@ -28,7 +28,7 @@
LEFT JOIN PM_PD_CONST_BT PPCB ON PPCB.ROLL_LINE_NO = SUBSTR(MS.MSC_LINE_NO,3,2)
WHERE 1=1
AND MS.MSC_LINE_NO='1030' --5米轧线
-- AND MS.SLAB_NO = 'C50000230200'
-- AND MS.SLAB_NO = 'C40022070500'
-- AND ((SELECT SUM(NVL(P1.NEED_SLAB_WT,0)) FROM PM_PD_SLAB P1 WHERE P1.SLAB_NO = MS.SLAB_NO)= MS.SLAB_ACT_WGT
-- OR (SELECT SUM(NVl(P1.NEED_SLAB_WT,0)) FROM PM_PD_SLAB P1 WHERE P1.SLAB_NO = MS.SLAB_NO) = 0)--重量相同
-- AND SUBSTR(MS.NEXT_WHOLE_BACKLOG_CODE,2,1) !='B' --全程工序代码第二位不能是B不嫩是火切工序

Loading…
Cancel
Save