package com.openhis.administration.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.openhis.administration.domain.HealthcareService;
import com.openhis.administration.dto.HealthcareDto;
import com.openhis.medication.dto.AdjustPriceMedListDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;

import java.util.List;

/**
 * 服务项目管理Service接口
 *
 * @author system
 * @date 2025-02-20
 */
public interface IHealthcareServiceService extends IService<HealthcareService> {

    /**
     * 服务管理 新增
     * @param healthcareService 表单信息
     * @return 入库后信息
     */
    HealthcareService addHealthcareService(HealthcareService healthcareService);

    /**
     * 服务管理 编辑
     * @param healthcareService 表单信息
     * @return 编辑结果
     */
    boolean updateHealthcareService(HealthcareService healthcareService);
    /**
     * Desc: 根据 项目id数组 加载 挂号数据集合
     * @param itemIds
     * @Author raymond
     * @Date 15:36 2025/10/18
     * @return java.util.List<com.openhis.administration.dto.HealthcareDto>
     **/
    List<HealthcareDto> searchHealthByIds(@Param("itemIds") List<Long> itemIds);

    /**
     * Desc: 查询所有 挂号数据
     * @param
     * @Author raymond
     * @Date 08:32 2025/10/22
     * @return java.util.List<com.openhis.medication.dto.AdjustPriceMedListDto>
     **/
    List<AdjustPriceMedListDto> searchAllHeathData(Long orgId,Integer statusEnum);


}