| | |
| | | private String action = ""; |
| | | private String orderName = ""; |
| | | private Long userId = 9999L; |
| | | private boolean signDanger = true; |
| | | |
| | | |
| | | public OrderOutBatchUtil() { |
| | |
| | | this.cstmrName = cstmrName; |
| | | } |
| | | |
| | | public OrderOutBatchUtil(String orderOneNo, String cstmrName, String ip, String action,String orderName) { |
| | | public OrderOutBatchUtil(String orderOneNo, String cstmrName, String ip, String action,String orderName,boolean signDanger) { |
| | | this.errorMsgOrderLoc = ""; |
| | | this.sign = true; |
| | | this.orderOneNo = orderOneNo; |
| | |
| | | this.action = action; |
| | | this.orderName = orderName; |
| | | this.userId = 9999L; |
| | | this.signDanger = signDanger; |
| | | } |
| | | |
| | | public R setOrderOutBatch() { |
| | |
| | | continue; |
| | | // throw new CoolException("箱号:"+outLocBoxC[0]+" 未查询到数据!!!"); |
| | | } |
| | | // if (!locDetlSou.getDanger$().equals(outLocBoxC[4])) { |
| | | // sign = false; |
| | | // errorMsgOrderLoc = errorMsgOrderLoc + "[===》" + "箱号:" + outLocBoxC[0] + " ==》出库输入待判状态:" + outLocBoxC[4] + "、库存状态:" + locDetlSou.getDanger$() + "。状态不匹配《===]"; |
| | | // continue; |
| | | // } |
| | | if (signDanger){ |
| | | if (!locDetlSou.getDanger$().equals(outLocBoxC[4])) { |
| | | sign = false; |
| | | errorMsgOrderLoc = errorMsgOrderLoc + "[===》" + "箱号:" + outLocBoxC[0] + " ==》出库输入待判状态:" + outLocBoxC[4] + "、库存状态:" + locDetlSou.getDanger$() + "。状态不匹配《===]"; |
| | | continue; |
| | | } |
| | | } |
| | | LocMast locMast = locMastService.selectOne(new EntityWrapper<LocMast>().eq("loc_no", locDetlSou.getLocNo())); |
| | | if (Cools.isEmpty(locMast)) { |
| | | sign = false; |