TASK:模块化;
This commit is contained in:
@@ -1643,10 +1643,14 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
|
|||||||
if (CollectionUtil.isNotEmpty(threeDModules)) {
|
if (CollectionUtil.isNotEmpty(threeDModules)) {
|
||||||
ThreeDModule threeDModule = threeDModules.get(0);
|
ThreeDModule threeDModule = threeDModules.get(0);
|
||||||
ThreeDVO patternMaking3D = getLayoutDetail(threeDModule.getThreeDSimpleId());
|
ThreeDVO patternMaking3D = getLayoutDetail(threeDModule.getThreeDSimpleId());
|
||||||
CollectionElement collectionElement = collectionElementMapper.selectById(threeDModule.getCollectionElementId());
|
if (null != threeDModule.getThreeDSimpleId()) {
|
||||||
patternMaking3D.setPrintUrl(minioUtil.getPreSignedUrl(collectionElement.getUrl(), CommonConstant.MINIO_IMAGE_EXPIRE_TIME));
|
CollectionElement collectionElement = collectionElementMapper.selectById(threeDModule.getCollectionElementId());
|
||||||
patternMaking3D.setX(threeDModule.getX());
|
if (Objects.nonNull(collectionElement)) {
|
||||||
patternMaking3D.setY(threeDModule.getY());
|
patternMaking3D.setPrintUrl(minioUtil.getPreSignedUrl(collectionElement.getUrl(), CommonConstant.MINIO_IMAGE_EXPIRE_TIME));
|
||||||
|
patternMaking3D.setX(threeDModule.getX());
|
||||||
|
patternMaking3D.setY(threeDModule.getY());
|
||||||
|
}
|
||||||
|
}
|
||||||
moduleChooseVO.setPatternMaking3D(patternMaking3D);
|
moduleChooseVO.setPatternMaking3D(patternMaking3D);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user