Package net.risesoft.api
Class ProcessTodoApiImpl
- java.lang.Object
-
- net.risesoft.api.ProcessTodoApiImpl
-
- All Implemented Interfaces:
ProcessTodoApi
@RestController @RequestMapping("/services/rest/processTodo") public class ProcessTodoApiImpl extends Object implements ProcessTodoApi待办件列表- Author:
- qinman, zhangchongjie
- Date:
- 2022/12/30
-
-
Constructor Summary
Constructors Constructor Description ProcessTodoApiImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.risesoft.pojo.Y9Result<Long>countByOrgUnitId(String tenantId, String orgUnitId)根据岗位id获取待办数量net.risesoft.pojo.Y9Result<Y9FlowableCountModel>getCountByUserIdAndProcessDefinitionKey(String tenantId, String userId, String processDefinitionKey)根据人员、岗位id,流程定义Key获取对应事项的办件统计(包括待办件,在办件,办结件)net.risesoft.pojo.Y9Result<Y9FlowableCountModel>getCountByUserIdAndSystemName(String tenantId, String userId, String systemName)根据人员、岗位id,系统标识获取对应事项的办件统计(包括待办件,在办件,办结件)net.risesoft.pojo.Y9Page<TaskModel>getListByUserIdAndProcessDefinitionKey(@NotBlank String tenantId, @NotBlank String userId, @NotBlank String processDefinitionKey, Integer page, Integer rows)根据人员、岗位id,流程定义Key获取用户的待办任务(分页)net.risesoft.pojo.Y9Page<TaskModel>getListByUserIdAndSystemName(@NotBlank String tenantId, @NotBlank String userId, @NotBlank String systemName, Integer page, Integer rows)根据人员、岗位id,系统标识获取用户的待办任务(分页)net.risesoft.pojo.Y9Page<TaskModel>getListByUserIdAndSystemName4xxx(String tenantId, String userId, String systemName, String processDefinitionKey, String target, Integer page, Integer rows)获取待办件列表net.risesoft.pojo.Y9Result<Long>getTodoCountByUserIdAndProcessDefinitionKey(String tenantId, String userId, String processDefinitionKey)根据人员、岗位id,流程定义key获取对应事项的待办数量net.risesoft.pojo.Y9Result<Long>getTodoCountByUserIdAndSystemName(String tenantId, String userId, String systemName)根据人员、岗位id,系统标识获取对应事项的待办数量net.risesoft.pojo.Y9Page<TaskModel>pageByUserId(String tenantId, String userId, Integer page, Integer rows)根据人员、岗位id获取用户的待办任务(分页)net.risesoft.pojo.Y9Page<TaskModel>searchListByUserIdAndProcessDefinitionKey(String tenantId, String userId, String processDefinitionKey, String searchTerm, Integer page, Integer rows)根据流程定义Key和其他条件搜索待办件net.risesoft.pojo.Y9Page<TaskModel>searchListByUserIdAndSystemName(@NotBlank String tenantId, @NotBlank String userId, @NotBlank String systemName, String searchTerm, Integer page, Integer rows)根据系统英文名称和其他条件搜索待办件
-
-
-
Method Detail
-
countByOrgUnitId
public net.risesoft.pojo.Y9Result<Long> countByOrgUnitId(@RequestParam String tenantId, @RequestParam String orgUnitId)
根据岗位id获取待办数量- Specified by:
countByOrgUnitIdin interfaceProcessTodoApi- Parameters:
tenantId- 租户idorgUnitId- 人员、岗位id- Returns:
Y9Result<Long>通用请求返回对象 - data 是待办数量- Since:
- 9.6.6
-
getCountByUserIdAndProcessDefinitionKey
public net.risesoft.pojo.Y9Result<Y9FlowableCountModel> getCountByUserIdAndProcessDefinitionKey(@RequestParam String tenantId, @RequestParam String userId, @RequestParam String processDefinitionKey)
根据人员、岗位id,流程定义Key获取对应事项的办件统计(包括待办件,在办件,办结件)- Specified by:
getCountByUserIdAndProcessDefinitionKeyin interfaceProcessTodoApi- Parameters:
tenantId- 租户IduserId- 人员、岗位idprocessDefinitionKey- 流程定义Key- Returns:
Y9Result<Y9FlowableCountModel>通用请求返回对象 - data 是办件统计- Since:
- 9.6.6
-
getCountByUserIdAndSystemName
public net.risesoft.pojo.Y9Result<Y9FlowableCountModel> getCountByUserIdAndSystemName(@RequestParam String tenantId, @RequestParam String userId, @RequestParam String systemName)
根据人员、岗位id,系统标识获取对应事项的办件统计(包括待办件,在办件,办结件)- Specified by:
getCountByUserIdAndSystemNamein interfaceProcessTodoApi- Parameters:
tenantId- 租户IduserId- 人员、岗位idsystemName- 系统名称- Returns:
Y9Result<Y9FlowableCountModel>通用请求返回对象 - data 是办件统计- Since:
- 9.6.6
-
getListByUserIdAndProcessDefinitionKey
public net.risesoft.pojo.Y9Page<TaskModel> getListByUserIdAndProcessDefinitionKey(@RequestParam @NotBlank @NotBlank String tenantId, @RequestParam @NotBlank @NotBlank String userId, @RequestParam @NotBlank @NotBlank String processDefinitionKey, @RequestParam Integer page, @RequestParam Integer rows)
根据人员、岗位id,流程定义Key获取用户的待办任务(分页)- Specified by:
getListByUserIdAndProcessDefinitionKeyin interfaceProcessTodoApi- Parameters:
tenantId- 租户IduserId- 人员、岗位idprocessDefinitionKey- 流程定义Keypage- 页码rows- 行数- Returns:
Y9Page<TaskModel>通用请求返回对象 - rows 是待办任务列表- Since:
- 9.6.6
-
getListByUserIdAndSystemName
public net.risesoft.pojo.Y9Page<TaskModel> getListByUserIdAndSystemName(@RequestParam @NotBlank @NotBlank String tenantId, @RequestParam @NotBlank @NotBlank String userId, @RequestParam @NotBlank @NotBlank String systemName, @RequestParam Integer page, @RequestParam Integer rows)
根据人员、岗位id,系统标识获取用户的待办任务(分页)- Specified by:
getListByUserIdAndSystemNamein interfaceProcessTodoApi- Parameters:
tenantId- 租户IduserId- 人员、岗位idsystemName- 系统名称page- 页码rows- 行数- Returns:
Y9Page<TaskModel>通用请求返回对象 - rows 是待办任务列表- Since:
- 9.6.6
-
getListByUserIdAndSystemName4xxx
public net.risesoft.pojo.Y9Page<TaskModel> getListByUserIdAndSystemName4xxx(@RequestParam String tenantId, @RequestParam String userId, String systemName, String processDefinitionKey, String target, @RequestParam Integer page, @RequestParam Integer rows)
获取待办件列表- Specified by:
getListByUserIdAndSystemName4xxxin interfaceProcessTodoApi- Parameters:
tenantId- 租户iduserId- 人员、岗位idsystemName- 系统名称processDefinitionKey- 流程定义keytarget- 目标page- 页码rows- 行数- Returns:
Y9Page<TaskModel>通用请求返回对象 - rows 是待办任务列表
-
getTodoCountByUserIdAndProcessDefinitionKey
public net.risesoft.pojo.Y9Result<Long> getTodoCountByUserIdAndProcessDefinitionKey(@RequestParam String tenantId, @RequestParam String userId, @RequestParam String processDefinitionKey)
根据人员、岗位id,流程定义key获取对应事项的待办数量- Specified by:
getTodoCountByUserIdAndProcessDefinitionKeyin interfaceProcessTodoApi- Parameters:
tenantId- 租户iduserId- 人员、岗位idprocessDefinitionKey- 流程定义key- Returns:
Y9Result<Long>通用请求返回对象 - data 是待办数量- Since:
- 9.6.6
-
getTodoCountByUserIdAndSystemName
public net.risesoft.pojo.Y9Result<Long> getTodoCountByUserIdAndSystemName(@RequestParam String tenantId, @RequestParam String userId, @RequestParam String systemName)
根据人员、岗位id,系统标识获取对应事项的待办数量- Specified by:
getTodoCountByUserIdAndSystemNamein interfaceProcessTodoApi- Parameters:
tenantId- 租户IduserId- 人员、岗位idsystemName- 系统名称- Returns:
Y9Result<Long>通用请求返回对象 - data 是待办数量- Since:
- 9.6.6
-
pageByUserId
public net.risesoft.pojo.Y9Page<TaskModel> pageByUserId(@RequestParam String tenantId, @RequestParam String userId, @RequestParam Integer page, @RequestParam Integer rows)
根据人员、岗位id获取用户的待办任务(分页)- Specified by:
pageByUserIdin interfaceProcessTodoApi- Parameters:
tenantId- 租户IduserId- 人员、岗位idpage- 页码rows- 行数- Returns:
Y9Page<TaskModel>通用请求返回对象 - rows 是待办任务列表- Since:
- 9.6.6
-
searchListByUserIdAndProcessDefinitionKey
public net.risesoft.pojo.Y9Page<TaskModel> searchListByUserIdAndProcessDefinitionKey(@RequestParam String tenantId, @RequestParam String userId, @RequestParam String processDefinitionKey, String searchTerm, @RequestParam Integer page, @RequestParam Integer rows)
根据流程定义Key和其他条件搜索待办件- Specified by:
searchListByUserIdAndProcessDefinitionKeyin interfaceProcessTodoApi- Parameters:
tenantId- 租户IduserId- 人员、岗位idprocessDefinitionKey- 流程定义KeysearchTerm- 搜索词page- 页码rows- 行数- Returns:
Y9Page<TaskModel>通用请求返回对象 - rows 是待办任务列表- Since:
- 9.6.6
-
searchListByUserIdAndSystemName
public net.risesoft.pojo.Y9Page<TaskModel> searchListByUserIdAndSystemName(@RequestParam @NotBlank @NotBlank String tenantId, @RequestParam @NotBlank @NotBlank String userId, @RequestParam @NotBlank @NotBlank String systemName, String searchTerm, @RequestParam Integer page, @RequestParam Integer rows)
根据系统英文名称和其他条件搜索待办件- Specified by:
searchListByUserIdAndSystemNamein interfaceProcessTodoApi- Parameters:
tenantId- 租户IduserId- 人员、岗位idsystemName- 系统英文名称searchTerm- 搜索词page- 页码rows- 行数- Returns:
Y9Page<TaskModel>通用请求返回对象 - rows 是待办任务列表- Since:
- 9.6.6
-
-