| | |
| | | package com.zy.api.controller; |
| | | |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.zy.api.controller.params.PageRequestParams; |
| | | import com.zy.api.entity.PubOrderParams; |
| | | import com.zy.api.entity.ReportOrderParam; |
| | |
| | | * @param params |
| | | * @return com.core.common.R |
| | | */ |
| | | @ApiOperation("上架派工单") |
| | | @ApiOperation("入库单下发") |
| | | @PostMapping("/sendInDispatch") |
| | | public XSR receiveOrders(@RequestBody List<PubOrderParams> params) { |
| | | log.info(JSONObject.toJSONString(params)); |
| | | if (Objects.isNull(params)) { |
| | | return XSR.error("参数不能为空!!"); |
| | | } |
| | | // if (Objects.isNull(params.getType())) { |
| | | // return XSR.error("单据类型不能为空!"); |
| | | // } |
| | | |
| | | return kopenApiService.receiveOrders(params); |
| | | } |
| | | |