BUGFIX:颜色没返回;
This commit is contained in:
@@ -801,12 +801,13 @@ public class CollectionElementServiceImpl extends ServiceImpl<CollectionElementM
|
||||
|
||||
@Override
|
||||
public List<CollectionElement> getByCollectionId(Long collectionId) {
|
||||
List<Long> elementIds = tCollectionElementRelationService.getByCollectionId(collectionId);
|
||||
if (CollectionUtils.isEmpty(elementIds)) {
|
||||
return null;
|
||||
}
|
||||
// List<Long> elementIds = tCollectionElementRelationService.getByCollectionId(collectionId);
|
||||
// if (CollectionUtils.isEmpty(elementIds)) {
|
||||
// return null;
|
||||
// }
|
||||
QueryWrapper<CollectionElement> queryWrapper = new QueryWrapper<>();
|
||||
queryWrapper.in("id", elementIds);
|
||||
// queryWrapper.in("id", elementIds);
|
||||
queryWrapper.lambda().eq(CollectionElement::getCollectionId, collectionId);
|
||||
return collectionElementMapper.selectList(queryWrapper);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user