看板bug
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user