package com.kcim.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kcim.dao.model.ComputePatientCostAccount;
import com.kcim.vo.DiseaseCostDetailVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 患者成本的会计科目金额表
 * 
 * @author Wang.YS
 * @date 2025-08-22 17:57:23
 */
@Mapper
public interface ComputePatientCostAccountMapper extends BaseMapper<ComputePatientCostAccount> {


    /**
     * 获取疾病成本明细
     * @param computeDate
     * @param hospId
     * @param diseaseFilter
     * @return
     */
    List<DiseaseCostDetailVO> getDiseaseCostDetailList(@Param("computeDate") String computeDate, @Param("hospId") Long hospId, String diseaseFilter);

    /**
     * 获取疾病成本构成明细
     * @param computeDate
     * @param hospId
     * @param diseaseFilter
     * @return
     */
    List<DiseaseCostDetailVO> getDiseaseCostCompositionDetail(@Param("computeDate") String computeDate, @Param("hospId") Long hospId, String diseaseFilter);

    /**
     * 获取服务单元疾病成本构成明细
     * @param computeDate
     * @param hospId
     * @param diseaseFilter
     * @return
     */
    List<DiseaseCostDetailVO> getDeptDiseaseCostCompositionDetail(@Param("computeDate") String computeDate, @Param("hospId") Long hospId, String diseaseFilter);

    /**
     * 获取DRG成本明细
     * @param computeDate
     * @param hospId
     * @return
     */
    List<DiseaseCostDetailVO> getDrgCostDetailList(@Param("computeDate") String computeDate, @Param("hospId") Long hospId);

    /**
     * 获取DRG成本构成明细
     * @param computeDate
     * @param hospId
     * @return
     */
    List<DiseaseCostDetailVO> getDrgCostCompositionDetail(@Param("computeDate") String computeDate, @Param("hospId") Long hospId);

    /**
     * 获取服务单元DRG成本构成明细
     * @param computeDate
     * @param hospId
     * @return
     */
    List<DiseaseCostDetailVO> getDeptDrgCostCompositionDetail(@Param("computeDate") String computeDate, @Param("hospId") Long hospId);
}
