|
@@ -58,7 +58,7 @@ func (ct *SellerController) GroupInvoiceList(c *gin.Context) {
|
|
|
}
|
|
|
outCond := ` department_id = %d AND parent_id = 0 `
|
|
|
outCond = fmt.Sprintf(outCond, departmentId)
|
|
|
- cond := ` (invoice_type = %d OR invoice_type = %d) AND a.is_deleted = 0 AND a.seller_group_id != 0 `
|
|
|
+ cond := ` (invoice_type = %d OR invoice_type = %d) AND a.is_deleted = 0 AND a.seller_id != 0 `
|
|
|
cond = fmt.Sprintf(cond, fms.ContractInvoiceTypeMake, fms.ContractInvoiceTypePreMake)
|
|
|
|
|
|
//adminCond := ` (invoice_type = %d OR invoice_type = %d) AND is_deleted = 0 AND seller_group_id != 0 `
|