| | |
| | | import org.springblade.modules.taskinfo.service.ITaskinfoPlanService; |
| | | import org.springblade.core.boot.ctrl.BladeController; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 巡检计划 控制器 |
| | | * |
| | |
| | | return R.status(taskinfoPlanService.deleteLogic(Func.toLongList(ids))); |
| | | } |
| | | |
| | | @PostMapping("/changeStatus") |
| | | @ApiOperationSupport(order = 8) |
| | | @ApiOperation(value = "启用/禁用", notes = "传入ids") |
| | | public R changeStatus(@ApiParam(value = "主键集合", required = true) @RequestParam List<Long> ids, @RequestParam Integer status) { |
| | | return R.status(taskinfoPlanService.changeStatus(ids,status)); |
| | | } |
| | | |
| | | |
| | | } |