Browse Source

no message

zhangchuanxing 2 weeks ago
parent
commit
fddda36d53
1 changed files with 6 additions and 1 deletions
  1. 6 1
      controllers/statistic/rai_data_summary.go

+ 6 - 1
controllers/statistic/rai_data_summary.go

@@ -254,7 +254,7 @@ func (this *StatisticRaiDataSummaryController) RaiDataSummaryList() {
 
 		mapSignedClientMoney[keyMapTtoal] += v.Money
 
-		if !mapCompanyData[keySigned] {
+		if !mapCompanyData[keySigned] && v.RaiContractType == "新签合同" {
 			mapSignedClientNum[keyMap]++
 			mapSignedClientNum[keyMapTtoal]++
 			mapCompanyData[keySigned] = true
@@ -307,6 +307,11 @@ func (this *StatisticRaiDataSummaryController) RaiDataSummaryList() {
 			mapRenewedContractNum[keyMapTtoal]++
 			mapKeyMapCompanyData[keyMapCompany] = true
 		}
+		if !mapCompanyData[keySigned] && v.RaiContractType == "续约合同" {
+			mapSignedClientNum[keyMap]++
+			mapSignedClientNum[keyMapTtoal]++
+			mapCompanyData[keySigned] = true
+		}
 	}
 
 	//确认不续约、到期合同部分的数据