Browse Source

feat:数据导出

wangshan 3 years ago
parent
commit
685865c8a3
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/jfw/modules/common/src/qfw/util/dataexport/dataexport.go

+ 3 - 1
src/jfw/modules/common/src/qfw/util/dataexport/dataexport.go

@@ -257,7 +257,9 @@ func getDataExportSql(scd *SieveCondition) string {
 			must_not := []string{}
 			//附加词
 			if v.Keyword != "" {
-				shoulds = append(shoulds, fmt.Sprintf(multi_match, "\""+v.Keyword+"\""))
+				for _, vk := range strings.Split(v.Keyword, " ") {
+					shoulds = append(shoulds, fmt.Sprintf(multi_match, "\""+vk+"\""))
+				}
 			}
 
 			for _, vv := range v.Appended {