|
@@ -545,8 +545,9 @@ func ordersClue() {
|
|
|
INNER JOIN jy_order_detail b on a.order_code=b.order_code
|
|
|
and b.update_time>="%s" AND a.user_phone NOT LIKE "%s" and a.user_id !=""
|
|
|
and b.product_type in (%s) and a.order_status = 1 and a.is_backstage_order = 1 order by b.update_time asc`, lastOrderClueId, "9%", product_type_str2)
|
|
|
-
|
|
|
+ log.Println("后台订单线索定时任务", sql)
|
|
|
data := Mysql.SelectBySql(sql)
|
|
|
+ log.Println("后台订单线索定时任务", len(*data))
|
|
|
if data != nil && *data != nil && len(*data) > 0 {
|
|
|
for _, v := range *data {
|
|
|
payMoney := common.IntAll(v["pay_money"])
|