| | |
| | | if (Cools.isEmpty(param1.getOrderNo())) { |
| | | return R.error("单据编号[orderNo]不能为空"); |
| | | } |
| | | if (Cools.isEmpty(param1.getId())) { |
| | | return R.error("单据唯一值[id]不能为空"); |
| | | } |
| | | if (Cools.isEmpty(param1.getFormId())) { |
| | | return R.error("单据类型[orderType]不能为空"); |
| | | } |
| | | if (Cools.isEmpty(param1.getMatList())) { |
| | | return R.error("单据明细[orderDetails]不能为空"); |
| | | } |
| | | |
| | | |
| | | List<Map<String, Object>> result = new ArrayList<>(); |
| | | |
| | |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("matnr", detlDto2.getMatnr()); |
| | | map.put("maktx", detlDto2.getMaktx()); |
| | | map.put("owner", detlDto2.getOwner()); |
| | | map.put("batch", detlDto2.getBatch()); |
| | | // map.put("owner", detlDto2.getOwner()); |
| | | // map.put("batch", detlDto2.getBatch()); |
| | | result.add(map); |
| | | } |
| | | } |
| | |
| | | if (Cools.isEmpty(param1.getOrderNo())) { |
| | | return R.error("单据编号[orderNo]不能为空"); |
| | | } |
| | | if (Cools.isEmpty(param1.getId())) { |
| | | return R.error("单据唯一值[id]不能为空"); |
| | | } |
| | | if (Cools.isEmpty(param1.getFormId())) { |
| | | return R.error("单据类型[FormId]不能为空"); |
| | | } |
| | |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("matnr", detlDto2.getMatnr()); |
| | | map.put("maktx", detlDto2.getMaktx()); |
| | | map.put("owner", detlDto2.getOwner()); |
| | | map.put("batch", detlDto2.getBatch()); |
| | | // map.put("owner", detlDto2.getOwner()); |
| | | // map.put("batch", detlDto2.getBatch()); |
| | | result.add(map); |
| | | } |
| | | } |