| | |
| | | package org.jeecg.modules.activiti.controller; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | @AutoLog(value = "DNC流程操作-获取当前用户的待办及可拾取的任务") |
| | | @ApiOperation(value = "DNC流程操作-获取当前用户的待办及可拾取的任务", notes = "DNC流程操作-获取当前用户的待办及可拾取的任务") |
| | | @GetMapping("/find/task/list") |
| | | public QueryListResponseResult<ActTaskExt> getUndoTaskList() { |
| | | List<ActTaskExt> list = assignFileStreamService.getUndoTaskList(); |
| | | if(list == null) |
| | | list = Collections.emptyList(); |
| | | return new QueryListResponseResult<>(CommonCode.SUCCESS, list); |
| | | public Result<?> getUndoTaskList(@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo, |
| | | @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize) { |
| | | IPage<ActTaskExt> actTaskExtIPage = assignFileStreamService.getUndoTaskList(pageNo,pageSize); |
| | | return Result.ok(actTaskExtIPage); |
| | | } |
| | | |
| | | @AutoLog(value = "DNC流程操作-批量指派到设备") |