package com.kcim.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kcim.dao.model.CostResponsibilityDepartment;
import com.kcim.vo.CostDepartmentVO;

import java.util.List;

/**
 * 责任中心科室对照表
 *
 * @author KCYG
 * @email KCYG@xinxicom
 * @date 2021-07-27 15:59:58
 */
public interface CostResponsibilityDepartmentService extends IService<CostResponsibilityDepartment> {

    /**
     * 根据责任中心的Id获取对应的科室信息的集合
     * @param responsibilityId
     * @return
     */
    List<CostDepartmentVO> getByResponsibilityId(Integer responsibilityId);

    /**
     * 批量删除责任中心科室损益信息
     * @param idList 责任中心科室对应的Id集合
     */
    void deleteByIds(List<Integer> idList);
}

