fix(delivery-plan): 移除收货报表中的计划日期分组
- 移除了查询结果中不必要的计划日期字段 - 删除了按计划日期进行分组的逻辑 - 简化了统计查询以提高性能
This commit is contained in:
@@ -168,7 +168,6 @@
|
||||
<!-- 收货报表:汇总统计(基于钢卷待操作,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,
|
||||
@@ -195,7 +194,6 @@
|
||||
<if test="endTime != null">
|
||||
AND wcpa.create_time <= #{endTime}
|
||||
</if>
|
||||
GROUP BY dp.plan_date
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user