Browse Source

feat:新增续约异常统计列表

Roc 1 year ago
parent
commit
c1f5d1ec4c
1 changed files with 2 additions and 4 deletions
  1. 2 4
      controllers/statistic_report.go

+ 2 - 4
controllers/statistic_report.go

@@ -6281,8 +6281,6 @@ func (this *StatisticReportController) UnusualRenewCompanyStatistics() {
 
 	}
 
-	var groupMap map[int][]*roadshow.Researcher
-
 	groupId := 0
 	if utils.RunMode == "release" {
 		groupId = 37
@@ -6344,7 +6342,7 @@ func (this *StatisticReportController) UnusualRenewCompanyStatistics() {
 	}
 
 	// 汇总数据
-	for index, v := range summaryList {
+	for index, _ := range summaryList {
 		tmpCompanyIdList, ok := companyIdIndexMap[index]
 		if ok {
 			summaryList[index].UnusualRenewIds = strings.Join(tmpCompanyIdList, ",")
@@ -6352,7 +6350,7 @@ func (this *StatisticReportController) UnusualRenewCompanyStatistics() {
 	}
 
 	companyRenewRecordResp.List = list
-	companyRenewRecordResp.SummaryList = SummaryList
+	companyRenewRecordResp.SummaryList = summaryList
 
 	br.Ret = 200
 	br.Success = true