浏览代码

Merge branch 'dev_v1.5.36.4_wh' of jianyu/datatools into hotfix/v1.5.36.4

王浩 1 月之前
父节点
当前提交
c213ede139
共有 2 个文件被更改,包括 9 次插入6 次删除
  1. 2 1
      clueSync/kc.go
  2. 7 5
      clueSync/lable.json

+ 2 - 1
clueSync/kc.go

@@ -525,11 +525,12 @@ func kcAuto() {
 }
 
 func ordersClue() {
-	log.Println("后台订单线索定时任务开始")
 	lastOrderClueId := cfg.LastOrderClueId
 	nowTime := time.Now().Format(date.Date_Full_Layout)
 	sql := fmt.Sprintf(`select order_code,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)
+	log.Println("后台订单线索定时任务开始:", sql)
 	data := Mysql.SelectBySql(sql)
+	log.Println("后台订单线索定时任务开始:", len(*data))
 	if data != nil && *data != nil && len(*data) > 0 {
 		for _, v := range *data {
 			order_status := common.IntAll(v["order_status"])

+ 7 - 5
clueSync/lable.json

@@ -66,9 +66,10 @@
     },{
       "topName": "公海中电销历史标记用户",
       "subName": "点击留资弹框的历史接通用户",
+      "limitation": 120,
       "conditionArr": [
         {
-          "code": "click_saleLeads_gte_1_7day",
+          "code": "click_saleLeads_gte_3_1day",
           "fool": true
         },
         {
@@ -76,28 +77,29 @@
           "fool": true
         },
         {
-          "code": "telemarketing_follow_7_day",
+          "code": "telemarketing_follow_30_day",
           "fool": false
         },
         {
-          "code": "telemarketing_listen_7_day",
+          "code": "telemarketing_listen_30_day",
           "fool": false
         }
       ]
     },{
       "topName": "公海中电销历史标记用户",
       "subName": "访问标讯的近期未建联用户",
+      "limitation": 120,
       "conditionArr": [
         {
           "code": "1day_article_gte_10",
           "fool": true
         },
         {
-          "code": "telemarketing_follow_7_day",
+          "code": "telemarketing_follow_30_day",
           "fool": false
         },
         {
-          "code": "telemarketing_listen_7_day",
+          "code": "telemarketing_listen_30_day",
           "fool": false
         }
       ]