| | |
| | | @PostMapping("/update") |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "修改", notes = "传入taskLabelReportingEvent") |
| | | public R update(@Valid @RequestBody TaskLabelReportingEventEntity taskLabelReportingEvent) throws Exception { |
| | | public R update(@Valid @RequestBody TaskLabelReportingEventVO taskLabelReportingEvent) throws Exception { |
| | | return R.status(taskLabelReportingEventService.updateLabelReporting(taskLabelReportingEvent)); |
| | | } |
| | | |
| | |
| | | @ApiOperationSupport(order = 7) |
| | | @ApiOperation(value = "逻辑删除", notes = "传入ids") |
| | | public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { |
| | | return R.status(taskLabelReportingEventService.deleteLogic(Func.toLongList(ids))); |
| | | return R.status(taskLabelReportingEventService.removeByIds(Func.toLongList(ids))); |
| | | } |
| | | |
| | | |