feat(WmsDeliveryPlanMapper): 添加计划日期字段到收货报表查询
- 在selectReceivingReportByType查询中添加plan_date字段映射 - 在selectReceivingReportSummary查询中添加plan_date字段映射 - 更新结果映射以包含计划日期信息
This commit is contained in:
@@ -136,6 +136,7 @@
|
|||||||
<select id="selectReceivingReportByType" resultType="com.klp.domain.vo.WmsReceivingReportByTypeVo">
|
<select id="selectReceivingReportByType" resultType="com.klp.domain.vo.WmsReceivingReportByTypeVo">
|
||||||
SELECT
|
SELECT
|
||||||
dp.plan_name AS productName,
|
dp.plan_name AS productName,
|
||||||
|
dp.plan_date AS planDate,
|
||||||
COUNT(wcpa.action_id) AS taskCount,
|
COUNT(wcpa.action_id) AS taskCount,
|
||||||
COUNT(DISTINCT wcpa.coil_id) AS coilCount,
|
COUNT(DISTINCT wcpa.coil_id) AS coilCount,
|
||||||
COALESCE(SUM(mc.net_weight), 0) AS totalWeight,
|
COALESCE(SUM(mc.net_weight), 0) AS totalWeight,
|
||||||
@@ -167,6 +168,7 @@
|
|||||||
<!-- 收货报表:汇总统计(基于钢卷待操作,action_type=401),统计全量收货计划 -->
|
<!-- 收货报表:汇总统计(基于钢卷待操作,action_type=401),统计全量收货计划 -->
|
||||||
<select id="selectReceivingReportSummary" resultType="com.klp.domain.vo.WmsReceivingReportSummaryVo">
|
<select id="selectReceivingReportSummary" resultType="com.klp.domain.vo.WmsReceivingReportSummaryVo">
|
||||||
SELECT
|
SELECT
|
||||||
|
dp.plan_date AS planDate,
|
||||||
COUNT(wcpa.action_id) AS taskCount,
|
COUNT(wcpa.action_id) AS taskCount,
|
||||||
COUNT(DISTINCT wcpa.coil_id) AS coilCount,
|
COUNT(DISTINCT wcpa.coil_id) AS coilCount,
|
||||||
COALESCE(SUM(mc.net_weight), 0) AS totalWeight,
|
COALESCE(SUM(mc.net_weight), 0) AS totalWeight,
|
||||||
|
|||||||
Reference in New Issue
Block a user