|
@@ -1302,6 +1302,7 @@ func (rg *RegisterController) InvoiceList(c *gin.Context) {
|
|
// 开票列表同时模糊查询销售名称
|
|
// 开票列表同时模糊查询销售名称
|
|
if req.InvoiceType == fms.ContractInvoiceTypeMake {
|
|
if req.InvoiceType == fms.ContractInvoiceTypeMake {
|
|
cond += ` AND (contract_code LIKE ? OR seller_name LIKE ?)`
|
|
cond += ` AND (contract_code LIKE ? OR seller_name LIKE ?)`
|
|
|
|
+ pars = append(pars, kw)
|
|
} else {
|
|
} else {
|
|
cond += ` AND contract_code LIKE ?`
|
|
cond += ` AND contract_code LIKE ?`
|
|
}
|
|
}
|