yzc il y a 1 an
Parent
commit
7a8758a3b9

+ 1 - 1
hx-sale/src/main/resources/mapper/ext/ExtQuotationProductBomMapper.xml

@@ -3,7 +3,7 @@
 <mapper namespace="com.fjhx.sale.mapper.ext.ExtQuotationProductBomMapper">
     <select id="getList" resultType="com.fjhx.sale.entity.ext.vo.ExtQuotationProductBomVo">
         SELECT eqpb.*,
-               pp.`name` AS materialName
+               pp.`name` AS productName
         FROM ext_quotation_product_bom eqpb
                  LEFT JOIN production_processes pp ON eqpb.material_id = pp.id
             ${ew.customSqlSegment}

+ 1 - 2
hx-sale/src/main/resources/mapper/quotation/QuotationProductBomMapper.xml

@@ -3,8 +3,7 @@
 <mapper namespace="com.fjhx.sale.mapper.quotation.QuotationProductBomMapper">
     <select id="getList" resultType="com.fjhx.sale.entity.quotation.vo.QuotationProductBomVo">
         SELECT qpb.*,
-               pp.`name` AS processesName,
-               pp.`name` AS materialName
+               pp.`name` AS productName
         FROM quotation_product_bom qpb
                  LEFT JOIN production_processes pp ON qpb.material_id = pp.id
             ${ew.customSqlSegment}