fix(export): 修正材料卷导出中的重量字段映射

- 将 WmsMaterialCoilExportVo 中的 grossWeight 字段更正为 netWeight
- 更新 WmsMaterialCoilMapper.xml 中的数据库字段映射,从 gross_weight 改为 net_weight
- 确保导出功能正确显示净重而非毛重数据
This commit is contained in:
2026-01-10 13:40:18 +08:00
parent a6b96b43c4
commit d42ae8cfd1
2 changed files with 2 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ public class WmsMaterialCoilExportVo {
* 重量kg
*/
@ExcelProperty(value = "重量")
private BigDecimal grossWeight;
private BigDecimal netWeight;
/**
* 用途

View File

@@ -362,7 +362,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
-- 日期
mc.create_time AS createTime,
-- 重量
mc.gross_weight AS grossWeight,
mc.net_weight AS netWeight,
-- 长度
mc.length AS length,
-- 用途(暂无数据源)