| | |
| | | return R.ok(productionProductMainService.addProductMain(productionProductMainDto)); |
| | | } |
| | | |
| | | /** |
| | | * 开始报工 |
| | | * @param productionProductMainDto |
| | | * @return |
| | | */ |
| | | @PostMapping("/startWork") |
| | | @PreAuthorize("@ss.hasPermi('productionProductMain:add')") |
| | | public R startWork(@RequestBody ProductionProductMainDto productionProductMainDto) { |
| | | return R.ok(productionProductMainService.startWork(productionProductMainDto)); |
| | | } |
| | | |
| | | @PostMapping |
| | | @Operation(summary = "新增生产报工") |
| | | public R add(@RequestBody ProductionProductMainDto productionProductMainDto) { |