package com.epmet.dao; import com.epmet.commons.mybatis.dao.BaseDao; import com.epmet.dto.form.CollectListFormDTO; import com.epmet.dto.result.CollectListResultDTO; 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); /** * 我上次提交的主表记录 * @param customerId * @param userId * @return */ String selectLastSubmitId(@Param("customerId") String customerId, @Param("userId") String userId); }