feat(wms): 添加发货人字段并优化钢卷导出逻辑

- 在WmsMaterialCoilDeliveryExportVo中新增exportBy发货人字段
- 在数据库查询映射中添加export_by字段映射
- 优化导出逻辑,根据状态判断替换日期字段
- 添加发货时间、更新时间、创建时间的优先级处理
- 对历史数据的库区名称进行空值处理
- 完善钢卷导出列表的数据处理流程
This commit is contained in:
2026-01-29 16:58:40 +08:00
parent 5868b63d81
commit 5ab74fbcf1
3 changed files with 36 additions and 2 deletions

View File

@@ -448,6 +448,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
SELECT
-- 钢卷ID
mc.coil_id AS coilId,
-- 发货人
mc.export_by AS exportBy,
-- 类型(中文显示)
CASE
WHEN mc.item_type = 'product' THEN '成品'