|
@@ -223,9 +223,9 @@ func (ct *SellerController) InvoiceList(c *gin.Context) {
|
|
|
return
|
|
|
}
|
|
|
pars := make([]interface{}, 0)
|
|
|
- outCond := ` a.department_id = %d AND a.enabled = 1 `
|
|
|
+ outCond := ` a.department_id = %d `
|
|
|
outCond = fmt.Sprintf(outCond, departmentId)
|
|
|
- totalCond := ` department_id = %d AND enabled = 1 `
|
|
|
+ totalCond := ` department_id = %d `
|
|
|
totalCond = fmt.Sprintf(totalCond, departmentId)
|
|
|
totalPars := make([]interface{}, 0)
|
|
|
if req.GroupId > 0 {
|