bugfix: posetransfer结果;
This commit is contained in:
@@ -1239,7 +1239,8 @@ public class GenerateServiceImpl extends ServiceImpl<GenerateMapper, Generate> i
|
|||||||
public List<PoseTransformationVO> getPoseTransformationResultList(Long projectId, boolean like){
|
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<PoseTransformation> poseTransformations = poseTransformationMapper.selectList(new QueryWrapper<PoseTransformation>().eq("project_id", projectId).eq("is_liked", like ? 1 : 0));
|
||||||
List<PoseTransformationVO> vos = new ArrayList<>();
|
List<PoseTransformationVO> vos = new ArrayList<>();
|
||||||
if (poseTransformations != null && poseTransformations.size() > 1){
|
// if (poseTransformations != null && poseTransformations.size() > 1){
|
||||||
|
if (!CollectionUtils.isEmpty(poseTransformations)){
|
||||||
poseTransformations.forEach(item -> {
|
poseTransformations.forEach(item -> {
|
||||||
String taskId = item.getUniqueId();
|
String taskId = item.getUniqueId();
|
||||||
String key = generateResultKey + ":" + taskId;
|
String key = generateResultKey + ":" + taskId;
|
||||||
|
|||||||
Reference in New Issue
Block a user