bugfix: single design没结果,posetransfer没回显正在进行的结果;
This commit is contained in:
@@ -773,7 +773,7 @@ public class DesignServiceImpl extends ServiceImpl<DesignMapper, Design> impleme
|
||||
Long relationId = Optional.ofNullable(bodyPointTest.get("relation_id"))
|
||||
.filter(Number.class::isInstance)
|
||||
.map(num -> ((Number) num).longValue())
|
||||
.orElseThrow(null);
|
||||
.orElse(null);
|
||||
|
||||
// 转换 relation_type (String)
|
||||
String relationType = Optional.ofNullable(bodyPointTest.get("relation_type"))
|
||||
|
||||
@@ -1265,6 +1265,11 @@ public class GenerateServiceImpl extends ServiceImpl<GenerateMapper, Generate> i
|
||||
if (!poseTransformationVO.getStatus().equals("Invalid") && !poseTransformationVO.getStatus().equals("Failed")) {
|
||||
vos.add(poseTransformationVO);
|
||||
}
|
||||
}else {
|
||||
PoseTransformationVO poseTransformationVO = CopyUtil.copyObject(item, PoseTransformationVO.class);
|
||||
poseTransformationVO.setTaskId(item.getUniqueId());
|
||||
poseTransformationVO.setStatus("Executing");
|
||||
vos.add(poseTransformationVO);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user