From 814f0712ce59dc0aee73779a8ff645e3ec5f394a Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期三, 22 四月 2026 18:11:53 +0800
Subject: [PATCH] feat(production): 新增印刷定印单及相关DTO和Mapper实现

---
 src/main/resources/mapper/production/ProductOrderMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/production/ProductOrderMapper.xml b/src/main/resources/mapper/production/ProductOrderMapper.xml
index 6b993bf..6f99253 100644
--- a/src/main/resources/mapper/production/ProductOrderMapper.xml
+++ b/src/main/resources/mapper/production/ProductOrderMapper.xml
@@ -22,6 +22,7 @@
         pm.unit,
         ppr.process_route_code,
         pb.bom_no,
+        sl.id as sales_ledger_id,
         ROUND(po.complete_quantity / po.quantity * 100, 2) AS completionStatus,
         DATEDIFF(sl.delivery_date, CURDATE()) AS delivery_days_diff,
         sl.delivery_date,

--
Gitblit v1.9.3