zwxi 10 months ago
parent
commit
bbf711d296
1 changed files with 2 additions and 2 deletions
  1. 2 2
      models/roadshow/report_record.go

+ 2 - 2
models/roadshow/report_record.go

@@ -305,7 +305,7 @@ func GetOverseasGroupResearcherRecordList(startDate, endDate, companyStatus stri
 		pars = append(pars, startDate)
 	}
 	if endDate != "" {
-		sql1 += ` AND b.start_date <= ? `
+		sql1 += ` AND b.end_date <= ? `
 		pars = append(pars, endDate)
 	}
 	if lenCompanyStatusList > 0 {
@@ -324,7 +324,7 @@ func GetOverseasGroupResearcherRecordList(startDate, endDate, companyStatus stri
 		pars = append(pars, startDate)
 	}
 	if endDate != "" {
-		sql2 += ` AND bb.start_date <= ?  `
+		sql2 += ` AND bb.end_date <= ?  `
 		pars = append(pars, endDate)
 	}
 	if lenCompanyStatusList > 0 {