Przeglądaj źródła

开票配置—列表sql增加“税收分类名称”

ZhangWenQiang 3 lat temu
rodzic
commit
8aa0076edc

+ 5 - 0
happy-cloud-wisdom/happy-cloud-wisdom-biz/src/main/java/org/jeecg/modules/hlwsubcontractor/entity/HlwSubcontractorInvoiceCategory.java

@@ -89,4 +89,9 @@ public class HlwSubcontractorInvoiceCategory implements Serializable {
      */
     @TableField(exist = false)
     private String invoiceCategoryName;
+    /**
+     * 税收分类名称
+     */
+    @TableField(exist = false)
+    private java.lang.String taxCategoryName;
 }

+ 2 - 1
happy-cloud-wisdom/happy-cloud-wisdom-biz/src/main/java/org/jeecg/modules/hlwsubcontractor/mapper/xml/HlwSubcontractorInvoiceCategoryMapper.xml

@@ -12,7 +12,8 @@
         a.create_by AS "createBy",
         a.update_time AS "updateTime",
         a.update_by AS "updateBy",
-        hic.invoice_category_name AS "invoiceCategoryName"
+        hic.invoice_category_name AS "invoiceCategoryName",
+        hic.tax_category_name AS "taxCategoryName"
         from hlw_subcontractor_invoice_category a
         LEFT JOIN hlw_invoice_category hic on hic.id = a.invoice_category_id
         <where>