Browse Source

产业资源去掉模糊搜索

xingzai 3 years ago
parent
commit
b4e82e8a4a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/report.go

+ 1 - 1
controllers/report.go

@@ -154,7 +154,7 @@ func (this *ReportController) IndustryList() {
 		//	return
 		//}
 		//condition += ` AND man.industrial_management_id IN (` + industrialManagementIds + `)`
-		condition += `subject_names LIKE '%` + keyWord + `%'`
+		condition += ` AND  subject_names LIKE '%` + keyWord + `%'`
 	}
 	var sqlChartPermissionId string
 	if ChartPermissionId > 0 {