BAOLH
2026-09-17 59c2e48f4c40e7dbc81149c9a859a54d8780ddf3
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("只能新增修改自己的任务日报!");