package com.kcim.dao.mapper;

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

import java.util.List;

/**
 * 全院损益表
 * 
 * @author huangrui
 * @date 2021-08-27 14:20:53
 */
@Mapper
public interface HospProfitAndLossMapper extends BaseMapper<HospProfitAndLoss> {

    List<HospProfitAndLoss> getPageList(@Param("startIndex") int startIndex, @Param("pageSize") Integer pageSize, @Param("year") int year, @Param("month") int month, @Param("hospId") Long hospId);


    int getPageCount(@Param("year") int year, @Param("month") int month, @Param("hospId") Long hospId);

}
