yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/dal/mysql/item/MdmItemMapper.java
@@ -31,7 +31,8 @@ .eqIfPresent(MdmItemDO::getStatus, reqVO.getStatus()) .betweenIfPresent(MdmItemDO::getCreateTime, reqVO.getCreateTime()) .orderByAsc(MdmItemDO::getSort) .orderByDesc(MdmItemDO::getId)); .orderByDesc(MdmItemDO::getId) .notIn(reqVO.getExcludeIds() != null && !reqVO.getExcludeIds().isEmpty(), MdmItemDO::getId, reqVO.getExcludeIds())); } default List<MdmItemDO> selectList(MdmItemPageReqVO reqVO, Collection<Long> categoryIds) {