Ver código fonte

供应商价格添加税点

yzc 11 meses atrás
pai
commit
5ec2d76d14

+ 5 - 0
hx-supply/src/main/java/com/fjhx/supply/entity/supplier/vo/SupplierPriceVo.java

@@ -87,4 +87,9 @@ public class SupplierPriceVo extends SupplierPrice {
      */
     private String productReverseTexture;
 
+    /**
+     * 供应商税点
+     */
+    private String supplierTaxPoints;
+
 }

+ 4 - 3
hx-supply/src/main/resources/mapper/supplier/SupplierPriceMapper.xml

@@ -6,10 +6,11 @@
                sp.supplier_info_id,
                sp.product_info_id,
                sp.price,
-               si.name supplierName,
-               si.type supplierType,
+               si.name               supplierName,
+               si.type               supplierType,
                sp.company_id,
-               sp.including_tax_price
+               sp.including_tax_price,
+               si.priv_tax_points AS supplier_tax_points
         from supplier_price sp
                  inner join supplier_info si on sp.supplier_info_id = si.id
             ${ew.customSqlSegment}