|
@@ -118,11 +118,11 @@ func (r *ReportController) List(permissionIds string) {
|
|
|
r.SuccessResult("查询报告列表成功", reports, result)
|
|
|
return
|
|
|
}
|
|
|
- if len(permissionIdList) == 0 && len(reportOrgIds) > 0 {
|
|
|
- err = exception.New(exception.UnknownError)
|
|
|
- r.FailedResult("查询报告列表失败", result)
|
|
|
- return
|
|
|
- }
|
|
|
+ //if len(permissionIdList) == 0 && len(reportOrgIds) > 0 {
|
|
|
+ // err = exception.New(exception.UnknownError)
|
|
|
+ // r.FailedResult("查询报告列表失败", result)
|
|
|
+ // return
|
|
|
+ //}
|
|
|
|
|
|
list, err := report.GetReportPage(r.PageInfo, reportOrgIds, false, isLogin(detailType))
|
|
|
if err != nil {
|