package com.kcim.dao.mapper;

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

import java.util.List;

/**
 * 成本数据归集后列表
 * 
 * @author KCYG
 * @date 2021-08-18 15:27:02
 */
@Mapper
public interface CostCostingCollectionMapper extends BaseMapper<CostCostingCollection> {
    /**
     * 科室损益计算  按照会计科目计算方式  查询责任中心下的所有值
     * @param hospId
     * @return
     */
    List<CostDepartmentProfitVO> selectGroupBy(@Param("hospId") Long hospId);
}
