Browse Source

物流详情增加进口商

zhangchenm 1 week ago
parent
commit
30dc57dbca

+ 2 - 0
trade-service/src/main/java/com/trade/service/trade/salesorder/vo/SalesOrderLogisticsDtlVO.java

@@ -61,4 +61,6 @@ public class SalesOrderLogisticsDtlVO {
      * 杂费金额
      * 杂费金额
      */
      */
     private BigDecimal otherFee;
     private BigDecimal otherFee;
+    @ApiModelProperty(name = "importerName", value = "进口商名称")
+    private String importerName;
 }
 }

+ 2 - 0
trade-service/src/main/resources/mapper/trade/salesorder/SalesOrderLogisticsMapper.xml

@@ -109,11 +109,13 @@
             a.insurance_fee,
             a.insurance_fee,
             a.other_fee,
             a.other_fee,
             b.order_no,
             b.order_no,
+            c.entity_name as importer_name,
             d.contract_no as sales_contract_no,
             d.contract_no as sales_contract_no,
             e.platform_name as agency_enterprise_name
             e.platform_name as agency_enterprise_name
         FROM
         FROM
             sales_order_logistics a
             sales_order_logistics a
                 join sales_order b on a.order_id = b.id
                 join sales_order b on a.order_id = b.id
+                left join importer_entity c on b.importer_id = c.id
                 left join sales_contract d on b.sale_contract_id = d.id
                 left join sales_contract d on b.sale_contract_id = d.id
                 left join trading_platform e on d.agency_cert_no = e.cert_no
                 left join trading_platform e on d.agency_cert_no = e.cert_no
         WHERE
         WHERE