| | |
| | | if (Cools.isEmpty(param1.getId())) { |
| | | return R.error("单据唯一值[id]不能为空"); |
| | | } |
| | | if (Cools.isEmpty(param1.getFormId())) { |
| | | return R.error("单据类型[orderType]不能为空"); |
| | | } |
| | | // if (Cools.isEmpty(param1.getFormId())) { |
| | | // return R.error("单据类型[orderType]不能为空"); |
| | | // } |
| | | if (Cools.isEmpty(param1.getMatList())) { |
| | | return R.error("单据明细[orderDetails]不能为空"); |
| | | } |
| | |
| | | } |
| | | |
| | | |
| | | OpenOrderPakinParam param = new OpenOrderPakinParam(param1); |
| | | openService.pakinOrderCreate(param); |
| | | OpenOrderPakmoveParam param = new OpenOrderPakmoveParam(param1); |
| | | openService.pakmoveOrderCreate(param); |
| | | return R.ok(); |
| | | } |
| | | |