|
@@ -68,8 +68,6 @@ func autoTask() {
|
|
|
nt := t.AddDate(0, 0, -statusMap[trailstatus])
|
|
|
intime = nt.Format(date.Date_Full_Layout)
|
|
|
argsSelect = append(argsSelect, intime)
|
|
|
- log.Println(sql)
|
|
|
- log.Println(argsSelect)
|
|
|
//
|
|
|
TiDb.SelectByBath(100, func(l *[]map[string]interface{}) bool {
|
|
|
for _, v := range *l {
|
|
@@ -85,7 +83,6 @@ func autoTask() {
|
|
|
args2 = append(args2, intime)
|
|
|
args2 = append(args2, position_id)
|
|
|
}
|
|
|
- log.Println("intime", intime, clueId, sql2)
|
|
|
//保留未跟进线索
|
|
|
// if c1, c2 := TiDb.CountBySql(sql1, clueId), TiDb.CountBySql(sql2, args2...); (c1 != 0 && c2 > 0) || out_task_status == 1 {
|
|
|
// log.Println("不满足线索过滤", clueId)
|