Commit 708175ab authored by wux's avatar wux

根据放货ID生成客户信息

parent 0172311d
...@@ -222,11 +222,11 @@ public class OrderCargoControlPickController { ...@@ -222,11 +222,11 @@ public class OrderCargoControlPickController {
return success(Boolean.TRUE); return success(Boolean.TRUE);
} }
@GetMapping("create/customer/{id}") @GetMapping("create/customer")
@ApiOperation("根据放货ID生成客户信息") @ApiOperation("根据放货ID生成客户信息")
@ApiImplicitParam(name = "id", value = "放货记录ID", required = true, example = "1024", dataType = "Long") @ApiImplicitParam(name = "CargoControlPickId", value = "放货记录ID", required = true, example = "1024", dataType = "Long")
public CommonResult<Boolean> createCustomerByCargoControlPickId(@PathVariable(value = "id") Long id) { public CommonResult<Boolean> createCustomerByCargoControlPickId( Long CargoControlPickId) {
OrderCargoControlPickDO orderCargoControlPickDO = orderCargoControlPickService.getById(id); OrderCargoControlPickDO orderCargoControlPickDO = orderCargoControlPickService.getById(CargoControlPickId);
if (Objects.isNull(orderCargoControlPickDO)) { if (Objects.isNull(orderCargoControlPickDO)) {
throw exception(ORDER_CARGO_CONTROL_PICK_NOT_EXISTS); throw exception(ORDER_CARGO_CONTROL_PICK_NOT_EXISTS);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment