feat(WmsDeliveryPlanMapper): 添加计划日期字段到收货报表查询

- 在selectReceivingReportByType查询中添加plan_date字段映射
- 在selectReceivingReportSummary查询中添加plan_date字段映射
- 更新结果映射以包含计划日期信息
This commit is contained in:
2026-01-14 11:57:39 +08:00
parent baf58c9658
commit 187512d10b

View File

@@ -136,6 +136,7 @@
<select id="selectReceivingReportByType" resultType="com.klp.domain.vo.WmsReceivingReportByTypeVo">
SELECT
dp.plan_name AS productName,
dp.plan_date AS planDate,
COUNT(wcpa.action_id) AS taskCount,
COUNT(DISTINCT wcpa.coil_id) AS coilCount,
COALESCE(SUM(mc.net_weight), 0) AS totalWeight,
@@ -167,6 +168,7 @@
<!-- 收货报表汇总统计基于钢卷待操作action_type=401统计全量收货计划 -->
<select id="selectReceivingReportSummary" resultType="com.klp.domain.vo.WmsReceivingReportSummaryVo">
SELECT
dp.plan_date AS planDate,
COUNT(wcpa.action_id) AS taskCount,
COUNT(DISTINCT wcpa.coil_id) AS coilCount,
COALESCE(SUM(mc.net_weight), 0) AS totalWeight,