fix 81758 发起人数据权限判断错了
This commit is contained in:
+1
-1
@@ -131,7 +131,7 @@ public class LawsSpecialProjectLibraryServiceImpl extends ServiceImpl<LawsSpecia
|
||||
for (LawsSpecialProjectLibrary projectLibrary : projectLibraryList) {
|
||||
String createBy = projectLibrary.getCreateBy();
|
||||
//管理员和创建人可以删除
|
||||
if (!loginUser.getIsAdmin() && !loginUser.getId().equals(createBy)){
|
||||
if (!loginUser.getIsAdmin() && !loginUser.getUsername().equals(createBy)){
|
||||
throw new JeroBootException(ResultCommon.NO_PERMISSIONS_PLEASE_SELECT);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user