|
@@ -561,7 +561,7 @@ func (this *SellerController) InvoiceListV2(c *gin.Context) {
|
|
|
amountPars = append(amountPars, summaryIds)
|
|
|
if len(groupIds) > 0 {
|
|
|
amountCond += ` AND IF ( a.invoice_id = 0, d.seller_group_id, b.seller_group_id ) IN (?) `
|
|
|
- amountPars = append(historyPars, groupIds)
|
|
|
+ amountPars = append(amountPars, groupIds)
|
|
|
}
|
|
|
|
|
|
//if req.SellerIds != "" {
|
|
@@ -646,7 +646,7 @@ func (this *SellerController) InvoiceListV2(c *gin.Context) {
|
|
|
amountPars = append(amountPars, summaryIds)
|
|
|
if len(groupIds) > 0 {
|
|
|
amountCond += ` AND IF ( a.invoice_id = 0, d.seller_group_id, b.seller_group_id ) IN (?) `
|
|
|
- amountPars = append(historyPars, groupIds)
|
|
|
+ amountPars = append(amountPars, groupIds)
|
|
|
}
|
|
|
//if req.SellerIds != "" {
|
|
|
// sellerIds := strings.Split(req.SellerIds, ",")
|
|
@@ -744,7 +744,7 @@ func (this *SellerController) InvoiceListV2(c *gin.Context) {
|
|
|
amountPars = append(amountPars, summaryIds)
|
|
|
if len(groupIds) > 0 {
|
|
|
amountCond += ` AND IF ( a.invoice_id = 0, d.seller_group_id, b.seller_group_id ) IN (?) `
|
|
|
- amountPars = append(historyPars, groupIds)
|
|
|
+ amountPars = append(amountPars, groupIds)
|
|
|
}
|
|
|
//if req.SellerIds != "" {
|
|
|
// sellerIds := strings.Split(req.SellerIds, ",")
|