WH01243 пре 1 година
родитељ
комит
0ffbd376a5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      service/company.go

+ 1 - 1
service/company.go

@@ -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 分配的数量