WH01243 1 жил өмнө
parent
commit
4955d35acd
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      clueSync/autoTask.go

+ 1 - 1
clueSync/autoTask.go

@@ -165,7 +165,7 @@ FROM
 	dwd_f_crm_clue_info b 
 right JOIN
  ( 	select  position_id from  dwd_f_crm_personnel_management where  assign_type = 1 
-	AND resign = 0 ) a on  a.position_id=b.position_id
+	AND resign = 0 ) a on  a.position_id=b.position_id    and  b.trailstatus!="08"
 GROUP BY
 	a.position_id HAVING count<?`, upperLimit)
 	if countData == nil || len(*countData) > 0 {