| | |
| | | private WaitPakinLogService waitPakinLogService; |
| | | @Autowired |
| | | private OrderService orderService; |
| | | @Autowired |
| | | private ReportToThirdService reportToThirdService; |
| | | |
| | | @Transactional |
| | | public ReturnT<String> start(WrkMast wrkMast) { |
| | |
| | | if (wrkMast.getIoType() == 1) { |
| | | // 入库通知单 |
| | | if (!Cools.isEmpty(wrkMast.getBarcode())) { |
| | | WaitPakin waitPakin = waitPakinService.selectOne(new EntityWrapper<WaitPakin>().eq("zpallet", wrkMast.getBarcode())); |
| | | if (!Cools.isEmpty(waitPakin.getTkFlag())) { |
| | | reportToThirdService.reportTkrk(waitPakin.getBatch(), waitPakin.getTkFlag(), waitPakin.getAnfme()); |
| | | } |
| | | |
| | | // 保存入库通知档历史档 |
| | | if (!waitPakinLogService.save(wrkMast.getBarcode())) { |
| | | // exceptionHandle("保存入库通知档历史档[workNo={0}]失败", wrkMast.getWrkNo()); |