|
@@ -111,8 +111,9 @@ func (this *EdbInfoController) SmmApiList() {
|
|
for _, v := range keyWordArr {
|
|
for _, v := range keyWordArr {
|
|
condition += ` CONCAT(index_name,index_code) LIKE '%` + v + `%' OR`
|
|
condition += ` CONCAT(index_name,index_code) LIKE '%` + v + `%' OR`
|
|
}
|
|
}
|
|
- condition = strings.TrimRight(condition, "OR")
|
|
|
|
- condition += " ) "
|
|
|
|
|
|
+ condition += ` '%` + strings.Replace(keyword, " ", "", -1) + `%' ) `
|
|
|
|
+ //condition = strings.TrimRight(condition, "OR")
|
|
|
|
+ //condition += " ) "
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|