From 0ae2d7e2cd0e0c3edde430c5cba8441a437e2d84 Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期三, 01 四月 2026 15:06:30 +0800
Subject: [PATCH] feat(production): 添加bomName字段及相关mapper映射
---
src/main/resources/mapper/sales/ShippingInfoMapper.xml | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/sales/ShippingInfoMapper.xml b/src/main/resources/mapper/sales/ShippingInfoMapper.xml
index 82c67b2..b9b9f7c 100644
--- a/src/main/resources/mapper/sales/ShippingInfoMapper.xml
+++ b/src/main/resources/mapper/sales/ShippingInfoMapper.xml
@@ -13,6 +13,7 @@
s.shipping_no,
s.type,
s.status,
+ slp.quantity,
s.create_time,
s.update_time,
s.create_user,
@@ -21,7 +22,9 @@
sl.sales_contract_no,
slp.specification_model,
p.product_name,
- sl.customer_name
+ sl.customer_name,
+ s.is_all_send,
+ s.part_send_amount
FROM shipping_info s
LEFT JOIN sales_ledger sl ON s.sales_ledger_id = sl.id
LEFT JOIN sales_ledger_product slp ON s.sales_ledger_product_id = slp.id and slp.type = 1
@@ -31,6 +34,12 @@
<if test="req.salesContractNo != null and req.salesContractNo != ''">
AND sl.sales_contract_no LIKE CONCAT('%',#{req.salesContractNo},'%')
</if>
+ <if test="req.salesLedgerId != null">
+ AND s.sales_ledger_id = #{req.salesLedgerId}
+ </if>
+ <if test="req.salesLedgerProductId != null">
+ AND slp.id = #{req.salesLedgerProductId}
+ </if>
<if test="req.shippingCarNumber != null and req.shippingCarNumber != ''">
AND s.shipping_car_number LIKE CONCAT('%',#{req.shippingCarNumber},'%')
</if>
--
Gitblit v1.9.3