gkhy-system/src/main/java/com/gkhy/system/service/impl/DailySafetyInspectionServiceImpl.java
@@ -148,11 +148,11 @@ if (!admin){ boolean sysAdmin = SecurityUtils.hasRole(Constants.SYS_ADMIN); if (!sysAdmin){ throw new RuntimeException("没有权限"); throw new ServiceException("没有权限"); } boolean placeSafetyOfficer = SecurityUtils.hasRole(Constants.PLACE_SAFETY_OFFICER); if (!placeSafetyOfficer){ throw new RuntimeException("没有权限"); throw new ServiceException("没有权限"); } }