LiFei 3 лет назад
Родитель
Сommit
e73b40402e

+ 1 - 1
happy-cloud-wisdom/happy-cloud-wisdom-biz/src/main/java/org/jeecg/modules/hlwinvoice/mapper/xml/HlwInvoiceMapper.xml

@@ -72,7 +72,7 @@
 				and   hce.cp_name like concat('%',#{hlwInvoice.cpName},'%')
 				and   hce.cp_name like concat('%',#{hlwInvoice.cpName},'%')
 			</if>
 			</if>
 			<if test="hlwInvoice.invoiceCategoryName != null and hlwInvoice.invoiceCategoryName !=''">
 			<if test="hlwInvoice.invoiceCategoryName != null and hlwInvoice.invoiceCategoryName !=''">
-				and   hic.invoice_category_name like concat('%',#{hlwInvoice.invoiceCategoryName},'%')
+				and   concat(hic.invoice_category_name,hic.tax_category_name) like concat('%',#{hlwInvoice.invoiceCategoryName},'%')
 			</if>
 			</if>
 			<if test="hlwInvoice.invoiceStatus != null">
 			<if test="hlwInvoice.invoiceStatus != null">
 				<if test="hlwInvoice.invoiceStatus =='1'.toString()">
 				<if test="hlwInvoice.invoiceStatus =='1'.toString()">