BUGFIX: retrive回参参数名统一;
This commit is contained in:
@@ -707,7 +707,7 @@ public class DesignServiceImpl extends ServiceImpl<DesignMapper, Design> impleme
|
||||
}
|
||||
userLikeService.save(userLike);
|
||||
groupDetailId = userLike.getId();
|
||||
String designUrl = designPythonOutfitMapper.selectById(userLike.getDesignPythonOutfitId()).getDesignUrl();
|
||||
String designUrl = designPythonOutfitMapper.selectById(userLike.getDesignOutfitId()).getDesignUrl();
|
||||
if (designUrl.contains("/")) {
|
||||
int i = designUrl.lastIndexOf("/");
|
||||
pictureName = designUrl.substring(i + 1);
|
||||
@@ -762,7 +762,7 @@ public class DesignServiceImpl extends ServiceImpl<DesignMapper, Design> impleme
|
||||
userLike.setDesignId(designId);
|
||||
userLike.setUserLikeGroupId(userGroupId);
|
||||
userLike.setDesignItemId(designItemId);
|
||||
userLike.setDesignPythonOutfitId(designPythonOutfitId);
|
||||
userLike.setDesignOutfitId(designPythonOutfitId);
|
||||
userLike.setUrl(designUrl);
|
||||
return userLike;
|
||||
}
|
||||
|
||||
@@ -107,7 +107,7 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
|
||||
Assert.notNull(group,"History does not exist!");
|
||||
List<UserLikeVO> userLikeVOS = userLikeService.getGroupDetail(userGroupId);
|
||||
userLikeVOS.forEach(o -> {
|
||||
TDesignPythonOutfit tDesignPythonOutfit1 = designPythonOutfitMapper.selectById(o.getDesignPythonOutfitId());
|
||||
TDesignPythonOutfit tDesignPythonOutfit1 = designPythonOutfitMapper.selectById(o.getDesignOutfitId());
|
||||
o.setUrl(tDesignPythonOutfit1.getDesignUrl());
|
||||
if (o.getUrl().contains("/")) {
|
||||
int index = o.getUrl().lastIndexOf("/");
|
||||
@@ -119,7 +119,7 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
|
||||
List<TDesignPythonOutfit> tDesignPythonOutfits = designPythonOutfitMapper.selectList(qw);
|
||||
if (CollectionUtil.isNotEmpty(tDesignPythonOutfits)) {
|
||||
TDesignPythonOutfit tDesignPythonOutfit = tDesignPythonOutfits.get(0);
|
||||
o.setDesignPythonOutfitId(tDesignPythonOutfit.getId());
|
||||
o.setDesignOutfitId(tDesignPythonOutfit.getId());
|
||||
}
|
||||
});
|
||||
UserLikeCollectionVO userLikeCollection = collectionService.chooseCollection(group.getCollectionId());
|
||||
|
||||
Reference in New Issue
Block a user