|
@@ -823,7 +823,7 @@ func (this *SellerController) InvoiceListV2(c *gin.Context) {
|
|
|
adminPars := make([]interface{}, 0)
|
|
|
adminCond := ` 1=1 `
|
|
|
if req.SellerType != 0 {
|
|
|
- adminCond = ` AND department_id = ? `
|
|
|
+ adminCond += ` AND department_id = ? `
|
|
|
adminPars = append(adminPars, departmentId)
|
|
|
}
|
|
|
if req.SellerIds != "" {
|