소스 검색

上限处理

WH01243 1 년 전
부모
커밋
b746c9fbd2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      service/company.go

+ 1 - 1
service/company.go

@@ -65,7 +65,7 @@ func DistributeClueShow(this *biservice.DistributeClueShowReq, allocationCap int
 		m.ClueCount = 0
 		m.CompanyCounts = 0
 		//现有数据查询
-		existingCount := JyBiTidb.CountBySql(`select count(1) from dwd_f_crm_clue_info where position_id=? and  is_assign=1 and trailstatus != '08' `, m.PositionId)
+		existingCount := JyBiTidb.CountBySql(`select count(1) from dwd_f_crm_clue_info where position_id=? and  is_assign=1   and is_transfer != 1 `, m.PositionId)
 		m.ExistingCount = existingCount
 		if existingCount >= allocationCap {
 			if this.DataType != 1 {