fix(export): 修正材料卷导出中的重量字段映射
- 将 WmsMaterialCoilExportVo 中的 grossWeight 字段更正为 netWeight - 更新 WmsMaterialCoilMapper.xml 中的数据库字段映射,从 gross_weight 改为 net_weight - 确保导出功能正确显示净重而非毛重数据
This commit is contained in:
@@ -67,7 +67,7 @@ public class WmsMaterialCoilExportVo {
|
|||||||
* 重量(kg)
|
* 重量(kg)
|
||||||
*/
|
*/
|
||||||
@ExcelProperty(value = "重量")
|
@ExcelProperty(value = "重量")
|
||||||
private BigDecimal grossWeight;
|
private BigDecimal netWeight;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 用途
|
* 用途
|
||||||
|
|||||||
@@ -362,7 +362,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
-- 日期
|
-- 日期
|
||||||
mc.create_time AS createTime,
|
mc.create_time AS createTime,
|
||||||
-- 重量
|
-- 重量
|
||||||
mc.gross_weight AS grossWeight,
|
mc.net_weight AS netWeight,
|
||||||
-- 长度
|
-- 长度
|
||||||
mc.length AS length,
|
mc.length AS length,
|
||||||
-- 用途(暂无数据源)
|
-- 用途(暂无数据源)
|
||||||
|
|||||||
Reference in New Issue
Block a user