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