| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | @Transactional |
| | | public Mat syncMat(MatSyncParam param) { |
| | |
| | | } |
| | | callApiLogSaveMES(param, param.getCombMats().get(0),"组托成功", true); |
| | | } |
| | | |
| | | public void callApiLogSaveMES(CombParam combParam,CombParam.CombMat combMat, String response, Boolean bool) { |
| | | if (Cools.isEmpty(combParam)){ |
| | | apiLogService.save("MES下发入库通知单", "/open/asrs/comb/v1", "null", "10.10.10.1", |
| | |
| | | param.setMemo("添加ERP下发商品信息失败!"); |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | return true; |
| | |
| | | //销售订单号 |
| | | od.setThreeCode(odParam.getCDefine22()); |
| | | //自由项 |
| | | od.setBatch(odParam.getBFree1()); |
| | | od.setBatch(Cools.isEmpty(odParam.getBatch()) ? "" : odParam.getBatch() + "__" + (Cools.isEmpty(odParam.getBFree1()) ? "" : odParam.getBFree1())); |
| | | //IDs |
| | | od.setSku(odParam.getId()); |
| | | |