WH01243 3 周之前
父節點
當前提交
2d135a7f74
共有 1 個文件被更改,包括 1 次插入0 次删除
  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 = ""