Browse Source

Merge branch 'dev_v1.0.29_wh' of BaseService/biService into feature/v1.0.29

王浩 1 year ago
parent
commit
1a817e07a8
1 changed files with 1 additions and 1 deletions
  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 {