装配清单-部件加工对不加工的判断修正

This commit is contained in:
gaoqr
2026-03-06 10:35:51 +08:00
parent b894c24165
commit 5d8e7be601
2 changed files with 2 additions and 2 deletions
@@ -48,7 +48,7 @@ public class OrderDetailComponentListReqVO {
@Schema(description = "是否删除", example = "false") @Schema(description = "是否删除", example = "false")
private boolean deleted; private boolean deleted;
@Schema(description = "加工状态:0不加工、1加工、2加工", example = "1") @Schema(description = "加工状态:0不加工、1加工、2加工", example = "1")
@InEnum(OrderComponentProcessStatusEnum.class) @InEnum(OrderComponentProcessStatusEnum.class)
private Integer processStatus; private Integer processStatus;
} }
@@ -541,7 +541,7 @@ public class AssemblyListServiceImpl implements AssemblyListService {
Map<String, Boolean> map = new HashMap<>(); Map<String, Boolean> map = new HashMap<>();
Deque<NodeLevel<OrderComponentTreeCompareVO>> stack = new ArrayDeque<>(); Deque<NodeLevel<OrderComponentTreeCompareVO>> stack = new ArrayDeque<>();
stack.push(new NodeLevel<>(root, 0)); stack.push(new NodeLevel<>(root, 1));
while (!stack.isEmpty()) { while (!stack.isEmpty()) {
NodeLevel<OrderComponentTreeCompareVO> current = stack.pop(); NodeLevel<OrderComponentTreeCompareVO> current = stack.pop();