|
@@ -165,7 +165,7 @@ FROM
|
|
dwd_f_crm_clue_info b
|
|
dwd_f_crm_clue_info b
|
|
right JOIN
|
|
right JOIN
|
|
( select position_id from dwd_f_crm_personnel_management where assign_type = 1
|
|
( 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
|
|
GROUP BY
|
|
a.position_id HAVING count<?`, upperLimit)
|
|
a.position_id HAVING count<?`, upperLimit)
|
|
if countData == nil || len(*countData) > 0 {
|
|
if countData == nil || len(*countData) > 0 {
|