瀏覽代碼

默认值处理

WH01243 7 月之前
父節點
當前提交
65d07fc808
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      jyBXCore/rpc/service/operator.go

+ 1 - 1
jyBXCore/rpc/service/operator.go

@@ -521,7 +521,7 @@ func SearchList(operator Operator) (int64, *[]map[string]interface{}) {
 		filterArr = append(filterArr, `{"match":{"toptype":"采购意向"}}`)
 		filterArr = append(filterArr, `{"match":{"toptype":"采购意向"}}`)
 		operator.TopType = ""
 		operator.TopType = ""
 	} else if operator.Tag == 2 {
 	} else if operator.Tag == 2 {
-		mustArr = append(mustArr, `{"exists":{"field":"price"}}`)
+		mustArr = append(mustArr, `{"exists":{"field":"bidopentime"}}`)
 		operator.TopType = ""
 		operator.TopType = ""
 	}
 	}
 	if operator.PublishTime != "" {
 	if operator.PublishTime != "" {