|
@@ -479,14 +479,15 @@ public class ActivitiServiceImpl implements ActivitiService {
|
|
|
* @param serviceId
|
|
|
* @param customName
|
|
|
* @param flowTaskTypeEnum
|
|
|
+ * @param crmNo
|
|
|
* @return
|
|
|
*/
|
|
|
@Override
|
|
|
- public IPage<WorkTaskResult> getFlowTaskList(IPage<Map> iPage, Long userId, TFCustomTypeEnum type, Long serviceId, String customName, FlowTaskTypeEnum flowTaskTypeEnum) {
|
|
|
+ public IPage<WorkTaskResult> getFlowTaskList(IPage<Map> iPage, Long userId, TFCustomTypeEnum type, Long serviceId, String customName, FlowTaskTypeEnum flowTaskTypeEnum, String crmNo) {
|
|
|
SysUser sysUser = (SysUser) ServletUtil.getRequestUser();
|
|
|
userId = Objects.nonNull(sysUser) ? sysUser.getId() : userId;
|
|
|
Map<String, Object> map = new HashMap<>();
|
|
|
- IPage<WorkTaskResult> workTaskResultIPage = sysUserService.getFlowTaskList(iPage, userId, type, serviceId, customName, flowTaskTypeEnum);
|
|
|
+ IPage<WorkTaskResult> workTaskResultIPage = sysUserService.getFlowTaskList(iPage, userId, type, serviceId, customName, flowTaskTypeEnum, crmNo);
|
|
|
if (Objects.nonNull(workTaskResultIPage) && !CollectionUtils.isEmpty(workTaskResultIPage.getRecords())) {
|
|
|
for (WorkTaskResult w : workTaskResultIPage.getRecords()) {
|
|
|
List<Task> taskList = taskService.createTaskQuery().taskId(String.valueOf(w.getTaskId())).list();
|
|
@@ -513,13 +514,14 @@ public class ActivitiServiceImpl implements ActivitiService {
|
|
|
* @param serviceId
|
|
|
* @param customName
|
|
|
* @param flowTaskTypeEnum
|
|
|
+ * @param crmNo
|
|
|
* @return
|
|
|
*/
|
|
|
@Override
|
|
|
- public int getFlowTaskListCount(Long userId, TFCustomTypeEnum type, Long serviceId, String customName, FlowTaskTypeEnum flowTaskTypeEnum) {
|
|
|
+ public int getFlowTaskListCount(Long userId, TFCustomTypeEnum type, Long serviceId, String customName, FlowTaskTypeEnum flowTaskTypeEnum, String crmNo) {
|
|
|
SysUser sysUser = (SysUser) ServletUtil.getRequestUser();
|
|
|
userId = Objects.nonNull(sysUser) ? sysUser.getId() : userId;
|
|
|
- return sysUserService.getFlowTaskListCount(userId, type, serviceId, customName, flowTaskTypeEnum);
|
|
|
+ return sysUserService.getFlowTaskListCount(userId, type, serviceId, customName, flowTaskTypeEnum, crmNo);
|
|
|
}
|
|
|
|
|
|
/**
|