|
|
@@ -235,6 +235,18 @@ public class ShipController extends BladeController {
|
|
|
return shipService.saveShipMessage(ship);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 发货
|
|
|
+ */
|
|
|
+ @PutMapping("/logistics")
|
|
|
+ @ApiOperationSupport(order = 7)
|
|
|
+ @ApiOperation(value = "发货", notes = "传入ship")
|
|
|
+ public R shipments(@RequestBody PjShip pjShip) {
|
|
|
+ if (ObjectUtil.isEmpty(pjShip.getId())) {
|
|
|
+ throw new RuntimeException("缺少必要参数");
|
|
|
+ }
|
|
|
+ return shipService.shipments(pjShip);
|
|
|
+ }
|
|
|
|
|
|
/**
|
|
|
* 删除 配件收发货表
|