diff --git a/src/main/java/com/ai/da/service/impl/GenerateServiceImpl.java b/src/main/java/com/ai/da/service/impl/GenerateServiceImpl.java index 6df88ea5..0c0cc944 100644 --- a/src/main/java/com/ai/da/service/impl/GenerateServiceImpl.java +++ b/src/main/java/com/ai/da/service/impl/GenerateServiceImpl.java @@ -2253,12 +2253,12 @@ public class GenerateServiceImpl extends ServiceImpl i PoseTransformationVO poseTransformationVO = new PoseTransformationVO(); switch (status) { case STATUS_SUCCESS: - poseTransformationVO.setStatus("Success"); List poseTransformations = poseTransformationMapper.selectList(new QueryWrapper().eq("unique_id", taskId).orderByDesc("id")); if (!poseTransformations.isEmpty()) { PoseTransformation poseTransformation = poseTransformations.get(0); poseTransformationVO = CopyUtil.copyObject(poseTransformation, PoseTransformationVO.class); // 生成视频的gif和第一帧图片 + poseTransformationVO.setStatus("Success"); processVideo(videoUrl, poseTransformation); poseTransformationVO.setId(poseTransformation.getId()); if (!StringUtil.isNullOrEmpty(poseTransformation.getGifUrl())) {