| | |
| | | throw new CoolException("四向库任务未找到"); |
| | | } |
| | | if (wrkMast.getIoType() == 1 || wrkMast.getIoType() == 10 || wrkMast.getIoType() == 11 || wrkMast.getIoType() == 53 || wrkMast.getIoType() == 54 || wrkMast.getIoType() == 57) { |
| | | wrkMast.setWrkSts(4L); |
| | | if (!Cools.isEmpty(param.getMsgType()) && param.getMsgType().equalsIgnoreCase("task_complete")) { |
| | | wrkMast.setWrkSts(4L); |
| | | } |
| | | } else { |
| | | wrkMast.setWrkSts(14L); |
| | | if (!Cools.isEmpty(param.getMsgType()) && param.getMsgType().equalsIgnoreCase("task_complete")) { |
| | | if (wrkMast.getStaNo()==1031){ |
| | | wrkMast.setWrkSts(106L); |
| | | }else { |
| | | wrkMast.setWrkSts(14L); |
| | | } |
| | | } |
| | | } |
| | | wrkMast.setModiTime(new Date()); |
| | | if (!wrkMastService.updateById(wrkMast)) { |
| | |
| | | if (Cools.isEmpty(param.getOrderType())) { |
| | | return R.error("单据类型[orderType]不能为空"); |
| | | } |
| | | if (Cools.isEmpty(param.getOrderDetails())) { |
| | | if (Cools.isEmpty(param.getDetails())) { |
| | | return R.error("单据明细[orderDetails]不能为空"); |
| | | } |
| | | openService.pakinOrderCreate(param); |
| | |
| | | if (Cools.isEmpty(param.getOrderType())) { |
| | | return R.error("单据类型[orderType]不能为空"); |
| | | } |
| | | if (Cools.isEmpty(param.getOrderDetails())) { |
| | | if (Cools.isEmpty(param.getDetails())) { |
| | | return R.error("单据明细[orderDetails]不能为空"); |
| | | } |
| | | openService.pakoutOrderCreate(param); |