|
@@ -560,7 +560,7 @@ func (this *SellerController) InvoiceListV2(c *gin.Context) {
|
|
|
amountPars := make([]interface{}, 0)
|
|
|
amountPars = append(amountPars, summaryIds)
|
|
|
if len(groupIds) > 0 {
|
|
|
- amountCond += ` AND AND IF ( a.invoice_id = 0, d.seller_group_id, b.seller_group_id ) IN (?) `
|
|
|
+ amountCond += ` AND IF ( a.invoice_id = 0, d.seller_group_id, b.seller_group_id ) IN (?) `
|
|
|
amountPars = append(historyPars, groupIds)
|
|
|
}
|
|
|
|
|
@@ -645,7 +645,7 @@ func (this *SellerController) InvoiceListV2(c *gin.Context) {
|
|
|
amountPars := make([]interface{}, 0)
|
|
|
amountPars = append(amountPars, summaryIds)
|
|
|
if len(groupIds) > 0 {
|
|
|
- amountCond += ` AND AND IF ( a.invoice_id = 0, d.seller_group_id, b.seller_group_id ) IN (?) `
|
|
|
+ amountCond += ` AND IF ( a.invoice_id = 0, d.seller_group_id, b.seller_group_id ) IN (?) `
|
|
|
amountPars = append(historyPars, groupIds)
|
|
|
}
|
|
|
//if req.SellerIds != "" {
|
|
@@ -743,7 +743,7 @@ func (this *SellerController) InvoiceListV2(c *gin.Context) {
|
|
|
amountPars := make([]interface{}, 0)
|
|
|
amountPars = append(amountPars, summaryIds)
|
|
|
if len(groupIds) > 0 {
|
|
|
- amountCond += ` AND AND IF ( a.invoice_id = 0, d.seller_group_id, b.seller_group_id ) IN (?) `
|
|
|
+ amountCond += ` AND IF ( a.invoice_id = 0, d.seller_group_id, b.seller_group_id ) IN (?) `
|
|
|
amountPars = append(historyPars, groupIds)
|
|
|
}
|
|
|
//if req.SellerIds != "" {
|