feat(material): 添加材料卷导出功能的时间字段兜底处理

- 在 WmsMaterialCoilExportVo 中新增 updateTime 字段用于时间兜底
- 在数据库查询映射中添加 update_time 字段的查询支持
- 实现发货时间为空时的时间字段处理逻辑,按优先级选择时间
- 优化导出列表的时间字段赋值策略,确保日期字段不为空
This commit is contained in:
2026-01-12 10:01:59 +08:00
parent 4f3b662b72
commit db95dd3a67
3 changed files with 23 additions and 3 deletions

View File

@@ -363,6 +363,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
mc.create_time AS createTime,
-- 发货时间
mc.export_time AS exportTime,
-- 新增:更新时间(用于发货时间为空时兜底)
mc.update_time AS updateTime,
-- 重量
mc.net_weight AS netWeight,
-- 长度