|
@@ -309,6 +309,7 @@ func DealReportInfo(report *reportService.ReportDTO, isLogin bool, userId int) (
|
|
var permissions []permissionService.PermissionDTO
|
|
var permissions []permissionService.PermissionDTO
|
|
permissions, report.SecondPermission = getReportSecondPermissions(report.OrgId, report.Source)
|
|
permissions, report.SecondPermission = getReportSecondPermissions(report.OrgId, report.Source)
|
|
if len(permissions) == 0 {
|
|
if len(permissions) == 0 {
|
|
|
|
+ resultReport = report
|
|
return
|
|
return
|
|
}
|
|
}
|
|
riskNum := config.GetHighestRiskLevel(permissions)
|
|
riskNum := config.GetHighestRiskLevel(permissions)
|