|
@@ -199,10 +199,11 @@ func (d *DataExport) QueryOrder() error {
|
|
|
} else {
|
|
|
query["order_status"] = map[string]interface{}{"ne": orderStatus_deleted}
|
|
|
}
|
|
|
- //2.8.5 PC端 不显示vip订单
|
|
|
//2.8.8 PC端 不显示vip订单
|
|
|
//query["product_type"] = "历史数据"
|
|
|
- query["product_type"] = map[string]interface{}{"ne": "VIP订阅"}
|
|
|
+ // query["product_type"] = map[string]interface{}{"ne": "VIP订阅"}
|
|
|
+ notin := []interface{}{"VIP订阅", "企业商机管理"}
|
|
|
+ query["product_type"] = map[string]interface{}{"notin": notin}
|
|
|
//总数
|
|
|
countData := public.Mysql.Find(tableName_order, query, "", "", -1, 0)
|
|
|
count := len(*countData)
|