| | |
| | | throw new CoolException(matnr + "商品维护失败"); |
| | | } |
| | | OrderDetl orderDetl = orderDetlService.selectItem(orderNo, mat.getMatnr(), batch, csocode); |
| | | if (orderDetl == null) { |
| | | throw new CoolException("订单明细不存在"); |
| | | } |
| | | AgvWrkDetl wrkDetl = new AgvWrkDetl(); |
| | | wrkDetl.sync(mat); |
| | | if (orderDetl != null) { |
| | |
| | | wrkMast.setAppeTime(now); |
| | | wrkMast.setModiUser(userId); |
| | | wrkMast.setModiTime(now); |
| | | if (!Cools.isEmpty(locNo) && Cools.isEmpty(pltType)) { |
| | | AgvLocMast agvLocMast = agvLocMastService.selectById(locNo); |
| | | pltType = agvLocMast.getPltType(); |
| | | } |
| | | wrkMast.setPltType(pltType); |
| | | wrkMast.setLogErrMemo("createWaitPainWrkMastStart"); |
| | | |