| | |
| | | for (int i = 0; i < combMats.size(); i++) { |
| | | OrderDetl jsonOrderDetl = combMats.getObject(i, OrderDetl.class); |
| | | OrderDetl orderDetl = orderDetlService.selectOne(new EntityWrapper<OrderDetl>() |
| | | .eq("order_no", jsonOrderNo)); |
| | | .eq("order_no", jsonOrderNo) |
| | | .and() |
| | | .eq("maktx",jsonOrderDetl.getMaktx())); |
| | | if (Cools.isEmpty(orderDetl)) { |
| | | return R.error("单据明细有误,请检查"); |
| | | } |
| | |
| | | } |
| | | ManLocDetl manLocDetl = manLocDetlService.selectOne(new EntityWrapper<ManLocDetl>() |
| | | .eq("loc_no", jsonLocNo) |
| | | .eq("matnr", orderDetl.getMatnr())); |
| | | .eq("maktx", jsonOrderDetl.getMaktx())); |
| | | if (manLocDetl == null) { |
| | | return R.error("该库位没有出库的物料信息"); |
| | | } |