Compare commits

...

2 Commits

Author SHA1 Message Date
wangliwen 1a7f647145 Merge branch 'dev' 2022-12-16 19:18:25 +08:00
wangliwen 71a3b827d1 ... 2022-12-16 19:18:19 +08:00
2 changed files with 3 additions and 0 deletions

View File

@ -122,6 +122,7 @@ public class ActTaskController {
public Result<PageData<TaskDTO>> myToDoTaskPage(@ApiIgnore @RequestParam Map<String, Object> params) {
String userId = SecurityUser.getUserId().toString();
params.put("userId", userId);
logger.info("--------------------------------------------------------{}",userId);
PageData<TaskDTO> page = actTaskService.page(params);
for (TaskDTO taskDTO : page.getList()) {
if (!StringUtils.isEmpty(taskDTO.getAssignee())) {

View File

@ -145,8 +145,10 @@ public class ActTaskService extends BaseServiceImpl {
// 同一审核组内成员
List<String> groupUserId = new ArrayList<>();
List<SysAuditTeamDTO> sysAuditTeamDTOS = new ArrayList<>();
logger.info("auditteam:" + auditteam);
if (auditteam) {
sysAuditTeamDTOS = sysAuditTeamService.selectByMemberOne(Long.parseLong(userId));
logger.info("审核组成员:" + sysAuditTeamDTOS.toString());
groupUserId = sysAuditTeamDTOS
.stream()
.map(index -> index.getMember())