| | |
| | | |
| | | @GetMapping("getTaskListWithFlag") |
| | | @ApiOperation(value = "查询管理员告警列表", notes = "旧:WorkAlarmAction!getTaskListWithFlag") |
| | | public Response getTaskListWithFlag(@RequestParam Integer note,@RequestParam int pageNum,@RequestParam int pageSize){ |
| | | public Response getTaskListWithFlag(@RequestParam Integer note, @RequestParam int pageNum, @RequestParam int pageSize) { |
| | | UserInf userInf = ActionUtil.getUser(); |
| | | return workAlarmService.getTaskListWithFlag(userInf.getUId().intValue(),note,pageNum,pageSize); |
| | | return workAlarmService.getTaskListWithFlag(userInf.getUId().intValue(), note, pageNum, pageSize); |
| | | } |
| | | |
| | | @GetMapping("getTaskListWithFlagNew") |
| | | @ApiOperation(value = "查询管理员告警列表2.0页面", notes = "旧:WorkAlarmAction!getTaskListWithFlag") |
| | | public Response getTaskListWithFlagNew(@RequestParam Integer note, @RequestParam int pageNum, @RequestParam int pageSize) { |
| | | UserInf userInf = ActionUtil.getUser(); |
| | | return workAlarmService.getTaskListWithFlagNew(userInf.getUId().intValue(), note, pageNum, pageSize); |
| | | } |
| | | |
| | | @PostMapping("/dispatchTask") |
| | | @ApiOperation(value = "确认指派任务订单", notes = "旧:WorkAlarmAction!dispatchTask") |
| | | public Response dispatchTask(@RequestBody List<WorkAlarm> alarmList){ |
| | | public Response dispatchTask(@RequestBody List<WorkAlarm> alarmList) { |
| | | return workAlarmService.dispatchTask(alarmList); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | } |