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

import cn.com.countrygarden.bi.main.core.Mapper;
import cn.com.countrygarden.bi.main.dto.districtReport.RdUncollectedBuildingProjectsDTO;
import cn.com.countrygarden.bi.main.dto.districtReport.RdUncollectedBuildingProjectsVO;
import cn.com.countrygarden.bi.main.model.districtReport.RdUncollectedBuildingProjects;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 未收楼项目信息-数据层
 *
 * @author 吕伟峰
 * @email www.justintoforest@gamail.com
 * @url 
 * @date 2019-08-14
 */
public interface RdUncollectedBuildingProjectsMapper extends Mapper<RdUncollectedBuildingProjects>{

    List<RdUncollectedBuildingProjectsDTO> queryPageList(@Param("rdUncollectedBuildingProjectsDTO") RdUncollectedBuildingProjectsDTO rdUncollectedBuildingProjectsDTO,
    @Param("organCodeString") List<String> organCodeString,@Param("commIdString") List<String> commIdString,@Param("principaString") List<String> principaString);

    RdUncollectedBuildingProjectsDTO  queryById(@Param("id") Integer id);

    RdUncollectedBuildingProjectsDTO buildingProjectsAddOne(@Param("districtCode") String districtCode,@Param("projectCode") String projectCode,@Param("createdBy") String createdBy);

    int dUncollectedBuildingProjectsAddone(RdUncollectedBuildingProjects rdUncollectedBuildingProjects);

    int updateByPrimary(RdUncollectedBuildingProjects rdUncollectedBuildingProjects);

    int deleteUpdate(@Param("id") Integer id,@Param("updateBy") String updateBy,@Param("updateName") String updateName);

    int delpingliangtag(@Param("rids") List<String> rids,@Param("updateBy") String updateBy,@Param("updateName") String updateName);

    List<RdUncollectedBuildingProjectsVO> evaluationrdUncollectedBuildingProjects(@Param("rdUncollectedBuildingProjectsDTO") RdUncollectedBuildingProjectsDTO rdUncollectedBuildingProjectsDTO,
                                                                                  @Param("organCodeString") List<String> organCodeString,@Param("commIdString") List<String> commIdString,@Param("principaString") List<String> principaString);

    List<RdUncollectedBuildingProjectsDTO> BuildingProjectsOne(RdUncollectedBuildingProjectsDTO rdUncollectedBuildingProjectsDTO);
}