Browse Source

Merge branch 'small_289' into debug

xiziwen 5 tháng trước cách đây
mục cha
commit
2754497653
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      controllers/statistic_report.go

+ 2 - 1
controllers/statistic_report.go

@@ -5782,8 +5782,9 @@ func (this *StatisticReportController) InvoicePaymentList() {
 		}
 		sellerIdsList := ""
 		for _, v := range groupTeamSellerList {
-			sellerIdsList += "," + strconv.Itoa(v.AdminId)
+			sellerIdsList += strconv.Itoa(v.AdminId) + ","
 		}
+		sellerIdsList = strings.TrimRight(sellerIdsList, ",")
 
 		cond += ` AND (c.seller_id IN (` + sellerIdsList + `) OR d.seller_id IN (` + sellerIdsList + `))`
 		pars = append(pars)