| | |
| | | * @param mesWorkReporting |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "工单报工-添加") |
| | | @ApiOperation(value="工单报工-添加", notes="工单报工-添加") |
| | | @AutoLog(value = "工单报工-新增报工") |
| | | @ApiOperation(value="工单报工-新增报工", notes="工单报工-新增报工") |
| | | //@RequiresPermissions("org.jeecg.modules:mes_work_reporting:add") |
| | | @PostMapping(value = "/add") |
| | | public Result<String> add(@RequestBody MesWorkReporting mesWorkReporting) { |
| | | mesWorkReportingService.save(mesWorkReporting); |
| | | mesWorkReportingService.addReporting(mesWorkReporting); |
| | | return Result.OK("添加成功!"); |
| | | } |
| | | |