bugfix: posetransfer结果;

This commit is contained in:
shahaibo
2025-06-20 17:28:34 +08:00
parent 27983fe8ee
commit e8e6f8bc17

View File

@@ -1239,7 +1239,8 @@ public class GenerateServiceImpl extends ServiceImpl<GenerateMapper, Generate> i
public List<PoseTransformationVO> getPoseTransformationResultList(Long projectId, boolean like){
List<PoseTransformation> poseTransformations = poseTransformationMapper.selectList(new QueryWrapper<PoseTransformation>().eq("project_id", projectId).eq("is_liked", like ? 1 : 0));
List<PoseTransformationVO> vos = new ArrayList<>();
if (poseTransformations != null && poseTransformations.size() > 1){
// if (poseTransformations != null && poseTransformations.size() > 1){
if (!CollectionUtils.isEmpty(poseTransformations)){
poseTransformations.forEach(item -> {
String taskId = item.getUniqueId();
String key = generateResultKey + ":" + taskId;