package cn.com.countrygarden.bi.main.dao.financial;

import cn.com.countrygarden.bi.main.core.Mapper;
import cn.com.countrygarden.bi.main.model.financial.ProjectProfit;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program: DPshow_depart
 * @description: PL按项目利润汇总Mapper
 * @author: SignV
 * @create: 2018-08-23 19:21
 **/
public interface ProjectProfitMapper extends Mapper<ProjectProfit> {

    List<ProjectProfit> selectProjectProfit(List<String> commIdList, String year);
    void insertOrUpdateProjectProfit(ProjectProfit projectProfit);
    List<ProjectProfit> selectProfitByOrganYearMonth(@Param("organCode") String organCode, @Param("year") String year, @Param("month") String month);
}
