|
@@ -61,17 +61,17 @@ public class AppWorkshopOutboundController extends BaseController {
|
|
|
private IWorkshopTransferService workshopTransferService;
|
|
|
|
|
|
// =========== 车间出库
|
|
|
-// @ApiOperation(value = "3.1 app添加车间解缴出库")
|
|
|
-// @Operation(value = "app添加车间解缴出库")
|
|
|
-// @PostMapping("/add")
|
|
|
-// public Object add(@RequestBody @ApiParam(value = "新增请求bean") @Validated({Create.class}) WorkshopOutboundReq req,
|
|
|
-// @CurrentUser CacheUserVO user) throws ParseException {
|
|
|
-// if (req.getAutoLs() == null && req.getManualLs() == null) {
|
|
|
-// throw new ReadTimeoutException("扫描的rfid列表与手动录入rfid列表不能都为空");
|
|
|
-// }
|
|
|
-// this.workshopOutboundService.shopOut(req, user);
|
|
|
-// return "";
|
|
|
-// }
|
|
|
+ @ApiOperation(value = "3.1 app添加车间解缴出库")
|
|
|
+ @Operation(value = "app添加车间解缴出库")
|
|
|
+ @PostMapping("/add")
|
|
|
+ public Object add(@RequestBody @ApiParam(value = "新增请求bean") @Validated({Create.class}) WorkshopOutboundReq req,
|
|
|
+ @CurrentUser CacheUserVO user) throws ParseException {
|
|
|
+ if (req.getAutoLs() == null && req.getManualLs() == null) {
|
|
|
+ throw new ReadTimeoutException("扫描的rfid列表与手动录入rfid列表不能都为空");
|
|
|
+ }
|
|
|
+ this.workshopOutboundService.shopOut(req, user);
|
|
|
+ return "";
|
|
|
+ }
|
|
|
|
|
|
@ApiOperation(value = "3.2 app添加车间内部出库")
|
|
|
@Operation(value = "app添加车间内部出库")
|