|
@@ -433,7 +433,7 @@ func bigCustomer() {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- orderData := Mysql.SelectBySql(`SELECT * FROM dataexport_order WHERE create_time >= "` + time.Now().AddDate(0, 0, -5).Format(date.Date_Short_Layout) + " 00:00:00" + `" AND create_time < "` + time.Now().Format(date.Date_Short_Layout) + " 00:00:00" + `" AND (product_type = '历史数据' or product_type = '数据流量包') AND order_status IN (0,1) AND salesperson IS NULL AND is_backstage_order = 0`)
|
|
|
|
|
|
+ orderData := Mysql.SelectBySql(`SELECT * FROM dataexport_order WHERE create_time >= "` + time.Now().AddDate(0, 0, -1).Format(date.Date_Short_Layout) + " 00:00:00" + `" AND create_time < "` + time.Now().Format(date.Date_Short_Layout) + " 00:00:00" + `" AND (product_type = '历史数据' or product_type = '数据流量包') AND order_status IN (0,1) AND salesperson IS NULL AND is_backstage_order = 0`)
|
|
if orderData != nil && len(*orderData) > 0 {
|
|
if orderData != nil && len(*orderData) > 0 {
|
|
for _, v := range *orderData {
|
|
for _, v := range *orderData {
|
|
phone := common.ObjToString(v["user_phone"])
|
|
phone := common.ObjToString(v["user_phone"])
|