diff --git a/yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/business/hi/task/inst/service/HiTaskInstService.java b/yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/business/hi/task/inst/service/HiTaskInstService.java index 030094e15..56c854563 100644 --- a/yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/business/hi/task/inst/service/HiTaskInstService.java +++ b/yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/business/hi/task/inst/service/HiTaskInstService.java @@ -254,7 +254,7 @@ public class HiTaskInstService { for (Long userId : bpmTaskAssignRuleDO.getOptions()) { BpmTaskRespVO bpmTaskRespVO = (BpmTaskRespVO)new BpmTaskRespVO().setName(targetFlowElement.getName()); - bpmTaskRespVOList.addFirst(bpmTaskRespVO); + bpmTaskRespVOList.addLast(bpmTaskRespVO); AdminUserDO adminUserDO = userDoMap.get(userId); DeptDO deptDO = deptMap.get(adminUserDO.getDeptId()); bpmTaskRespVO.setAssigneeUser(setUser(adminUserDO));