package com.epmet.dao; import com.epmet.commons.mybatis.dao.BaseDao; import com.epmet.dto.form.CollectListFormDTO; import com.epmet.dto.form.IcResiCollectGetDetailFormDTO; import com.epmet.dto.result.CollectHouseInfoResultDTO; import com.epmet.dto.result.CollectListResultDTO; import com.epmet.dto.result.CollectPageListDTO; import com.epmet.entity.IcResiCollectEntity; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 居民信息采集表 * * @author generator generator@elink-cn.com * @since v1.0.0 2022-03-18 */ @Mapper public interface IcResiCollectDao extends BaseDao { IcResiCollectEntity selectByAddress(String address); int updateRec(@Param("id") String id, @Param("houseType") String houseType, @Param("houseHolderName") String houseHolderName, @Param("totalResi") Integer totalResi, @Param("updatedBy") String updatedBy); /** * Desc: 查询采集居民信息 * @param formDTO * @author zxc * @date 2022/3/18 19:41 */ List getCollectList(CollectListFormDTO formDTO); List selectMemberList(@Param("id") String id, @Param("domicilePlace") String domicilePlace); /** * 我上次提交的主表记录 * @param customerId * @param userId * @return */ List selectLastSubmitId(@Param("customerId") String customerId, @Param("userId") String userId); /** * @describe: 我的登记列表 * @author wangtong * @date 2022/8/3 14:19 * @params [customerId] * @return java.util.List */ List getCollectPage(@Param("customerId") String customerId, @Param("userId") String userId); /** * 获取房屋信息 * @param formDTO * @return */ CollectHouseInfoResultDTO getHouseDetailByCollect(IcResiCollectGetDetailFormDTO formDTO); }