/*
 * Copyright ©2023 CJB-CNIT Team. All rights reserved
 */
package com.openhis.web.personalization.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.openhis.web.personalization.dto.OrdersGroupPackageDetailQueryDto;
import com.openhis.web.personalization.dto.OrdersGroupPackageQueryDto;

/**
 * 组合套餐 Mapper
 *
 * @author zwh
 * @date 2025-05-16
 */
@Repository
public interface OrdersGroupPackageAppMapper {

    /**
     * 查询组合套餐
     * 
     * @param packageTypeEnum 类型枚举
     * @param organizationId 科室id
     * @param practitionerId 参与者id
     * @param searchKey 模糊查询关键字
     * @return 组合套餐
     */
    List<OrdersGroupPackageQueryDto> getGroupPackage(@Param("packageTypeEnum") Integer packageTypeEnum,
        @Param("organizationId") Long organizationId, @Param("practitionerId") Long practitionerId,
        @Param("searchKey") String searchKey);

    /**
     * 查询组合套餐明细
     * 
     * @param groupPackageIds 组合套餐id集合
     * @return 组合套餐明细
     */
    List<OrdersGroupPackageDetailQueryDto> getGroupPackageDetail(@Param("groupPackageIds") List<Long> groupPackageIds);

}
