看板bug

This commit is contained in:
2026-01-22 17:19:31 +08:00
parent 151d4cbf5e
commit 0e7e291f50
2 changed files with 1 additions and 5 deletions

View File

@@ -321,7 +321,7 @@ public class ZtKanbanlaneServiceImpl extends ServiceImpl<ZtKanbanlaneMapper, ZtK
} }
} }
List<String> carIds = new ArrayList<>(Arrays.asList(thisZtKanbancell.getCards().split(","))); Set<String> carIds = new HashSet<>(Arrays.asList(thisZtKanbancell.getCards().split(",")));
while (carIds.contains(bussId.toString())) { while (carIds.contains(bussId.toString())) {
carIds.remove(bussId.toString()); carIds.remove(bussId.toString());
} }

View File

@@ -1767,14 +1767,10 @@ public class ZtStoryServiceImpl extends ServiceImpl<ZtStoryMapper, ZtStory> impl
if (execId != null) { if (execId != null) {
this.kanbanlaneService.changeStatus(execId, i, "story", newStatus); this.kanbanlaneService.changeStatus(execId, i, "story", newStatus);
if (!oldStatus.equalsIgnoreCase(newStatus) && ztStory.getProduct() != 0) { if (!oldStatus.equalsIgnoreCase(newStatus) && ztStory.getProduct() != 0) {
ProductStoryStatus oldPStatus = null; ProductStoryStatus oldPStatus = null;
ProductStoryStatus newPStatus = null; ProductStoryStatus newPStatus = null;
oldPStatus = getProductStatus(oldStatus); oldPStatus = getProductStatus(oldStatus);
newPStatus = getProductStatus(newStatus); newPStatus = getProductStatus(newStatus);
this.productService.productChangeStatus(ztStory.getProduct(), oldPStatus, newPStatus); this.productService.productChangeStatus(ztStory.getProduct(), oldPStatus, newPStatus);
} }
} }