浏览代码

feat:数据导出

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