Browse Source

no message

zhangchuanxing 3 months ago
parent
commit
d49ce989e9
1 changed files with 2 additions and 0 deletions
  1. 2 0
      controllers/report.go

+ 2 - 0
controllers/report.go

@@ -3188,6 +3188,8 @@ func (this *ReportController) SearchReportAndResource() {
 			br.ErrMsg = "获取信息失败,Err:" + err.Error()
 			return
 		}
+	} else {
+		listHzResource = make([]*models.IndustrialManagement, 0)
 	}
 
 	//condition = `  AND a.publish_status = 1 AND a.article_type_id IN (` + articleTypeIds + `)  AND (m.industry_name LIKE '%` + keyWord + `%' OR m.subject_names LIKE '%` + keyWord + `%'  )  `