feat(wms): 添加分卷操作时间记录功能

- 在分卷步骤中添加 create_time 字段记录操作时间
- 使用 DateUtils.getNowDate() 获取当前时间戳
- 确保分卷流程中的时间信息完整记录
This commit is contained in:
2026-03-04 11:01:30 +08:00
parent 809a4506e7
commit 8a540096f5

View File

@@ -1600,6 +1600,8 @@ public class WmsMaterialCoilServiceImpl implements IWmsMaterialCoilService {
splitStep.put("child_coils", allNewCoilNos); splitStep.put("child_coils", allNewCoilNos);
// 分卷产生的子钢卷ID将在后续步骤中设置 // 分卷产生的子钢卷ID将在后续步骤中设置
splitStep.put("operator", LoginHelper.getUsername()); // 操作者 splitStep.put("operator", LoginHelper.getUsername()); // 操作者
// 分卷的操作时间
splitStep.put("create_time", DateUtils.getNowDate());
steps.add(splitStep); steps.add(splitStep);
contentMap.put("steps", steps); contentMap.put("steps", steps);