feat(wms): 新增发货报表统计功能

- 在IWmsDeliveryPlanService接口中新增getDeliveryReport方法
- 在WmsDeliveryPlanController中添加/report接口用于获取发货报表
- 在WmsDeliveryPlanMapper中新增selectDeliveryReport方法
- 在WmsDeliveryPlanMapper.xml中编写发货报表查询SQL
- 在WmsDeliveryPlanServiceImpl中实现发货报表统计逻辑
- 新增WmsDeliveryReportVo类用于封装发货报表数据
This commit is contained in:
2025-11-26 09:38:22 +08:00
parent 0548466540
commit 6781ae135d
6 changed files with 129 additions and 4 deletions

View File

@@ -0,0 +1,57 @@
package com.klp.domain.vo;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
/**
* 发货报表统计VO
*/
@Data
public class WmsDeliveryReportVo {
/**
* 钢卷类型(品名)
*/
private String productName;
/**
* 发货单数量
*/
private Integer waybillCount = 0;
/**
* 钢卷数量
*/
private Integer coilCount = 0;
/**
* 总重量(吨)
*/
private BigDecimal totalWeight = BigDecimal.ZERO;
/**
* 日均发货单数量
*/
private BigDecimal dailyWaybillCount = BigDecimal.ZERO;
/**
* 日均钢卷数量
*/
private BigDecimal dailyCoilCount = BigDecimal.ZERO;
/**
* 日均重量(吨)
*/
private BigDecimal dailyWeight = BigDecimal.ZERO;
/**
* 统计开始时间
*/
private Date startTime;
/**
* 统计结束时间
*/
private Date endTime;
}