Merge branch '0.8.X' of https://gitee.com/hdka/klp-oa into 0.8.X

This commit is contained in:
砂糖
2026-01-29 10:16:40 +08:00

View File

@@ -2157,9 +2157,8 @@ public class WmsMaterialCoilServiceImpl implements IWmsMaterialCoilService {
// 根据操作类型使用不同的标识符
if ("分卷".equals(operation)) {
// 分卷:使用原钢卷号 + 分卷列表
keyBuilder.append(step.get("old_current_coil_no")).append("->");
keyBuilder.append(step.get("new_current_coil_nos"));
// 分卷:使用原钢卷号作为唯一标识,避免同一分卷操作的重复
keyBuilder.append(step.get("old_current_coil_no"));
} else if ("合卷".equals(operation)) {
// 合卷:使用父钢卷列表 + 新钢卷号
keyBuilder.append(step.get("parent_coil_nos")).append("->");