吴羡
6 小时以前 a797b5801af481990e40c029221c55229291eae8
yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/dal/mysql/item/MdmItemMapper.java
@@ -15,7 +15,7 @@
/**
 * MDM 物料主数据 Mapper
 *
 * @author 芋道源码
 * @author 超级管理员
 */
@Mapper
public interface MdmItemMapper extends BaseMapperX<MdmItemDO> {
@@ -30,7 +30,8 @@
                .eqIfPresent(MdmItemDO::getBrandId, reqVO.getBrandId())
                .eqIfPresent(MdmItemDO::getStatus, reqVO.getStatus())
                .betweenIfPresent(MdmItemDO::getCreateTime, reqVO.getCreateTime())
                .orderByDesc(MdmItemDO::getId));
                .orderByAsc(MdmItemDO::getCategoryId)
                .orderByAsc(MdmItemDO::getCode));
    }
    default List<MdmItemDO> selectList(MdmItemPageReqVO reqVO, Collection<Long> categoryIds) {