|
@@ -409,6 +409,8 @@ func ordersClue() {
|
|
|
lastOrderClueId := cfg.LastOrderClueId
|
|
|
nowTime := time.Now().Format(date.Date_Full_Layout)
|
|
|
sql := fmt.Sprintf(`select order_status,is_backstage_order,pay_money,saleDep,salesperson,user_phone,create_person,saleMoney,user_id,product_type,company_name,autoUpdate from dataexport_order where autoUpdate >= "%s" order by autoUpdate asc`, lastOrderClueId)
|
|
|
+ //sql := fmt.Sprintf(`select order_status,is_backstage_order,pay_money,saleDep,salesperson,user_phone,create_person,saleMoney,user_id,product_type,company_name,autoUpdate from dataexport_order where order_code= '134531275535' order by autoUpdate asc`)
|
|
|
+
|
|
|
data := Mysql.SelectBySql(sql)
|
|
|
if data != nil && *data != nil && len(*data) > 0 {
|
|
|
for _, v := range *data {
|
|
@@ -602,7 +604,7 @@ func ordersClue() {
|
|
|
"clue_id": clueId,
|
|
|
"position_id": positionId,
|
|
|
"change_type": "线索冻结",
|
|
|
- "new_value": "线索冻结",
|
|
|
+ "new_value": "销售人员私海线索已释放",
|
|
|
"createtime": nowTime,
|
|
|
"BCPCID": common.GetRandom(32),
|
|
|
"operator_id": -1,
|
|
@@ -817,7 +819,7 @@ func refundAuto() {
|
|
|
"clue_id": clueId,
|
|
|
"position_id": saleId,
|
|
|
"change_type": "线索冻结",
|
|
|
- "new_value": "线索冻结",
|
|
|
+ "new_value": "销售人员私海线索已释放",
|
|
|
"createtime": nowTime,
|
|
|
"BCPCID": common.GetRandom(32),
|
|
|
"operator_id": -1,
|