mitao
2 天以前 bdd967acce69d2420d9866789dfcee42c7e77023
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/OaNotificationController.java
@@ -40,7 +40,7 @@
 * @since 2025-09-15
 */
@RestController
@Api("消息通知")
@Api(tags = "消息通知")
@RequestMapping("/oa-notification")
public class OaNotificationController {
    @Resource
@@ -120,7 +120,11 @@
                String orDefault = deptMap.getOrDefault(Integer.parseInt(deptId), "");
                deptName.append(orDefault).append(",");
            }
            if (deptName.length() > 0){
            notificationDetailVO.setDeptName(deptName.substring(0,deptName.length()-1));
            }else {
                notificationDetailVO.setDeptName("");
            }
            List<NotificationDeptUserDetailVO> notificationUserVOS = new ArrayList<>();
            List<Long> userIds = notifationUsers.stream().map(e -> e.getUserId().longValue()).collect(Collectors.toList());
            if (!userIds.isEmpty()){