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)); }