TASK:印花;

This commit is contained in:
shahaibo
2023-10-04 13:16:02 +08:00
parent db502aaef5
commit 9e7ed913ce

View File

@@ -89,7 +89,7 @@ public class LibraryModelPointServiceImpl extends ServiceImpl<LibraryModelPointM
public List<LibraryModelPointVO> selectByLibraryIds(List<Long> libraryIds) {
QueryWrapper<LibraryModelPoint> queryWrapper = new QueryWrapper<>();
queryWrapper.lambda().eq(LibraryModelPoint::getModelType, ModelType.LIBRARY.getValue());
queryWrapper.in("library_id", libraryIds);
queryWrapper.in("relation_id", libraryIds);
List<LibraryModelPoint> libraryModelPoints = libraryModelPointMapper.selectList(queryWrapper);
if(CollectionUtils.isEmpty(libraryModelPoints)){
return null;