开卷机问题修复回去

This commit is contained in:
2026-01-20 16:09:13 +08:00
parent e6c2b0aec2
commit 65d9f59ac4

View File

@@ -387,7 +387,7 @@ public class SegmentTrackerService {
if (headPos.compareTo(BigDecimal.valueOf(dynPos)) >= 0 && !prevReached.contains(d)) {
MatmapDTO matmap = MatmapUtil.getMatmap(entry.getPayOffReelNumber());
MatmapDTO matmap = MatmapUtil.getMatmap(entry.getPayOffReelNumber()-1);
MatmapUtil.setMatId(d.getIdx(), coilId,matmap.getPlanId());
if (d == DeviceEnum.WELDER) {