package com.xiaoniu.system.groupgoods.groupbuying.mapper;

import com.xiaoniu.common.mybatis.mapper.BaseMapperPlus;
import com.xiaoniu.system.groupgoods.groupbuying.domain.TbGroupSpecifications;
import com.xiaoniu.system.groupgoods.groupbuying.dto.SpecificationsListQueryDTO;
import com.xiaoniu.system.groupgoods.groupbuying.vo.SpecificationsListVO;

import java.util.List;

/**
 * <p>
 * 团购商品规格表 Mapper 接口
 * </p>
 *
 * @author haoxuyang
 * @since 2024-10-18 09:19:39
 */
public interface TbGroupSpecificationsMapper extends BaseMapperPlus<TbGroupSpecificationsMapper, TbGroupSpecifications, TbGroupSpecifications> {

    /**
     * 根据团购商品id获取商品规格
     *
     * @param dto dto
     * @return List<SpecificationsListVO>
     */
    List<SpecificationsListVO> getSpecificationsListByGroupId(SpecificationsListQueryDTO dto);
}
