Sfoglia il codice sorgente

wip:搜索数据导出新增buyer、winner、agency字段

wangkaiyue 1 anno fa
parent
commit
4c72084137
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      common/src/qfw/util/dataexport/dataexport.go

+ 2 - 2
common/src/qfw/util/dataexport/dataexport.go

@@ -270,12 +270,12 @@ func getDataExportSql(scd *SieveCondition) string {
 		}
 	}
 	if len(scd.Agency) > 0 {
-		if sql := getMatchPhraseSql("agency.magency", scd.Buyer...); sql != "" {
+		if sql := getMatchPhraseSql("agency.magency", scd.Agency...); sql != "" {
 			musts = append(musts, sql)
 		}
 	}
 	if len(scd.Winner) > 0 {
-		if sql := getMatchPhraseSql("s_winner.mwinner", scd.Buyer...); sql != "" {
+		if sql := getMatchPhraseSql("s_winner.mwinner", scd.Winner...); sql != "" {
 			musts = append(musts, sql)
 		}
 	}