BAOLH
2026-09-17 1683346887896752ef7ac4f890941761a79fa029
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/task/service/impl/TaskDaliyServiceImpl.java
@@ -591,7 +591,7 @@
        // 登录用户最大角色等级
        int min = Collections.min(levels);
        // 判断角色等级
        if (min == Constant.ROLE_LEVEL_MANAGER || min == Constant.ROLE_LEVEL_LEADER || min == Constant.ROLE_LEVEL_ORDINARY) {
        if (Constant.BASE_LEVEL_LIST.contains(Long.valueOf(min))) {
            // 判断是否是自己的日报
            if (SecurityUtils.getCurrentUserId().longValue() != resources.getUserId().longValue()) {
                throw new BadRequestException("只能新增修改自己的任务日报!");