浏览代码

Merge branch 'dev_v1.5.17_wh' of jianyu/datatools into feature/v1.5.17

王浩 10 月之前
父节点
当前提交
91b35650a0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      clueSync/jobutil.go

+ 1 - 1
clueSync/jobutil.go

@@ -565,7 +565,7 @@ func users() {
 	//新用户注册后5分钟内进入线索 C
 	log.Println("新注册用户定时任务开始")
 	selectTimeEnd := cfg.LastUserId
-	sql := fmt.Sprintf(`select * from dwd_f_userbase_baseinfo   where createtime > "%s" and s_platform!="xcx"   and source = "0101" and status != 2  order by  createtime asc`, selectTimeEnd)
+	sql := fmt.Sprintf(`select * from dwd_f_userbase_baseinfo   where createtime > "%s" and (s_platform != 'xcx' or  s_platform is  NULL)  and source = "0101" and status != 2  order by  createtime asc`, selectTimeEnd)
 	data := TiDb.SelectBySql(sql)
 	if data != nil && *data != nil && len(*data) > 0 {
 		for k, v := range *data {