Browse Source

上限处理

WH01243 1 year ago
parent
commit
0ffbd376a5
1 changed files with 1 additions and 1 deletions
  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 分配的数量