feat(wms): 添加钢卷类别统计——汇总统计

- 新增 CategoryWidthRawVo 和 CategoryWidthStatisticsVo 数据传输对象
- 在 IWmsMaterialCoilService 中添加 getCategoryWidthStatistics 方法定义
- 实现 WmsMaterialCoilController 的 categoryWidthStatistics 接口
- 添加 WmsMaterialCoilMapper 的 selectCategoryWidthStatistics 查询方法
- 实现 WmsMaterialCoilServiceImpl 中的 getCategoryWidthStatistics 业务逻辑
- 在 XML 映射文件中添加类别宽度统计的 SQL 查询语句
This commit is contained in:
2026-03-09 10:46:22 +08:00
parent 7736ac3311
commit 0050af7677
7 changed files with 145 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
package com.klp.domain.vo.dashboard;
import lombok.Data;
import java.math.BigDecimal;
@Data
public class CategoryWidthRawVo {
private String category;
private String width;
private String isTrimmed;
private BigDecimal totalWeight;
}

View File

@@ -0,0 +1,16 @@
package com.klp.domain.vo.dashboard;
import lombok.Data;
import java.math.BigDecimal;
import java.util.List;
@Data
public class CategoryWidthStatisticsVo {
private String category;
private BigDecimal width1000;
private BigDecimal width1200;
private BigDecimal width1220;
private BigDecimal width1250;
private BigDecimal otherWidth;
private BigDecimal total;
}