WH01243 1 жил өмнө
parent
commit
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 分配的数量