| | |
| | | |
| | | @Override |
| | | @Transactional |
| | | public void combAuto(CombParam param, Long userId) { |
| | | public void comb(CombParam param, Long userId) { |
| | | if (Cools.isEmpty(param.getBarcode(), param.getCombMats())) { |
| | | throw new CoolException(BaseRes.PARAM); |
| | | } |
| | |
| | | |
| | | @Override |
| | | @Transactional |
| | | public void comb(CombParam param, Long userId) { |
| | | public void combAuto(CombParam param, Long userId) { |
| | | if (Cools.isEmpty(param.getBarcode(), param.getCombMats())) { |
| | | throw new CoolException(BaseRes.PARAM); |
| | | } |
| | |
| | | .eq("standby3", combMat.getStandby3())); |
| | | if (orderDetlPakins.size() > 0) { |
| | | orderNo = orderDetlPakins.get(0).getOrderNo(); |
| | | combMat.setBoxType1(orderDetlPakins.get(0).getBoxType1()); |
| | | combMat.setBoxType2(orderDetlPakins.get(0).getBoxType2()); |
| | | combMat.setBoxType3(orderDetlPakins.get(0).getBoxType3()); |
| | | } else { |
| | | throw new CoolException("未查询到相关订单===>>" + param.getBarcode()); |
| | | } |