浏览代码

产业资源去掉模糊搜索

xingzai 3 年之前
父节点
当前提交
b4e82e8a4a
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 {