WH01243 před 3 týdny
rodič
revize
2d135a7f74
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      clueSync/jobutil.go

+ 1 - 0
clueSync/jobutil.go

@@ -1135,6 +1135,7 @@ func autoDraw(userId, mode, cluename, phone string, isGroup, isCommerce int) (po
 			cdata := TiDb.SelectBySql(`select  position_id,MAX(trail_time) as trail_time,max(last_ring_time) as last_ring_time,seatNumber,count(id) as count from   dwd_f_crm_clue_info where  cluename=? and  is_assign =1 GROUP BY  position_id `, cluename)
 			if cdata != nil && len(*cdata) > 0 { //找到了公司有人在跟进
 				isOk = true
+				pdata := TiDb.SelectBySql(`select * from dwd_f_crm_personnel_management where seat_number is not null and seat_number != ""`)
 				if pdata == nil {
 					positionId = 0
 					seatNumber = ""