@@ -50,7 +50,7 @@ func FindUpperLimit(positionId int64) bool {
if positionId == 0 {
return false
}
- return JyBiTidb.CountBySql(`select count(1) from dwd_f_crm_clue_info where position_id=? and trailstatus!= '08' `, positionId) >= 400
+ return JyBiTidb.CountBySql(`select count(1) from dwd_f_crm_clue_info where position_id=? and is_transfer != 1 `, positionId) >= 400
// CompanyCount 分配的数量