فهرست منبع

Merge branch 'crm/crm_16.1' of http://8.136.199.33:3000/hongze/hz_crm_api

zhangchuanxing 3 هفته پیش
والد
کامیت
e98d9d20f6
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      controllers/statistic_company_merge.go

+ 1 - 1
controllers/statistic_company_merge.go

@@ -360,7 +360,7 @@ func (this *StatisticCompanyMergerController) MergeCompanyList() {
 		condition1 += condition
 		pars1 = append(pars1, pars)
 
-		condition1 += ` AND a.end_date >= ? AND a.end_date  <= ? `
+		condition1 += ` AND a.status = 1 AND a.start_date >= '2020-01-01' AND  a.end_date >= ? AND a.end_date  <= ? `
 		pars1 = append(pars1, startDate, endDate)
 		//condition1 += ` AND a.operation = ? `
 		//pars1 = append(pars1, "try_out")