云
2026-10-31 bf5f52656e128f578ed42c7979c31cf4b476ce46
yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/dal/mysql/item/MdmItemMapper.java
@@ -30,6 +30,7 @@
                .eqIfPresent(MdmItemDO::getBrandId, reqVO.getBrandId())
                .eqIfPresent(MdmItemDO::getStatus, reqVO.getStatus())
                .betweenIfPresent(MdmItemDO::getCreateTime, reqVO.getCreateTime())
                .orderByAsc(MdmItemDO::getSort)
                .orderByDesc(MdmItemDO::getId));
    }
@@ -40,6 +41,7 @@
                .inIfPresent(MdmItemDO::getCategoryId, categoryIds)
                .eqIfPresent(MdmItemDO::getItemType, reqVO.getItemType())
                .eqIfPresent(MdmItemDO::getStatus, reqVO.getStatus())
                .orderByAsc(MdmItemDO::getSort)
                .orderByDesc(MdmItemDO::getId));
    }