|
@ -18,6 +18,7 @@ import org.springframework.stereotype.Service; |
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
import org.springframework.util.CollectionUtils; |
|
|
import org.springframework.util.CollectionUtils; |
|
|
|
|
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
import java.util.List; |
|
|
import java.util.List; |
|
|
import java.util.Map; |
|
|
import java.util.Map; |
|
|
|
|
|
|
|
@ -182,7 +183,12 @@ public class BizTodoItemServiceImpl implements IBizTodoItemService { |
|
|
counter++; |
|
|
counter++; |
|
|
} else { |
|
|
} else { |
|
|
// 查询候选用户组,系统用户角色视图,group是角色
|
|
|
// 查询候选用户组,系统用户角色视图,group是角色
|
|
|
List<String> todoUserIdList = bizTodoItemMapper.selectTodoUserListByTaskId(task.getId()); |
|
|
List<String> todoUserIdList = new ArrayList<>(); |
|
|
|
|
|
if("requisitioning".equals(module)){ |
|
|
|
|
|
todoUserIdList = bizTodoItemMapper.selectTodoUserListsByTaskId(task.getId()); |
|
|
|
|
|
}else{ |
|
|
|
|
|
todoUserIdList = bizTodoItemMapper.selectTodoUserListByTaskId(task.getId()); |
|
|
|
|
|
} |
|
|
//如果是查询初始化的
|
|
|
//如果是查询初始化的
|
|
|
if (!CollectionUtils.isEmpty(todoUserIdList)) { |
|
|
if (!CollectionUtils.isEmpty(todoUserIdList)) { |
|
|
for (String todoUserId: todoUserIdList) { |
|
|
for (String todoUserId: todoUserIdList) { |
|
|