package com.epmet.dao; import com.epmet.commons.mybatis.dao.BaseDao; import com.epmet.dto.DataSyncConfigDTO; import com.epmet.dto.DataSyncScopeDTO; import com.epmet.dto.form.ConfigSwitchFormDTO; import com.epmet.dto.form.DataSyncTaskParam; import com.epmet.dto.result.NatUserInfoResultDTO; import com.epmet.entity.DataSyncConfigEntity; 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-09-26 */ @Mapper public interface DataSyncConfigDao extends BaseDao { /** * Desc: 【数据配置】配置开关 * * @param formDTO * @author zxc * @date 2022/9/26 14:36 */ void configSwitch(ConfigSwitchFormDTO formDTO); /** * Desc: 【数据配置】列表 * * @param customerId * @param switchStatus * @author zxc * @date 2022/9/26 15:04 */ List list(@Param("customerId") String customerId, @Param("switchStatus") String switchStatus, @Param("dataCode")String dataCode); List scopeList(@Param("id") String id); /** * Desc: 删除范围 * * @param dataSyncConfigId * @author zxc * @date 2022/9/26 15:46 */ void delScope(@Param("dataSyncConfigId") String dataSyncConfigId); /** * Desc: 根据范围查询居民证件号 * * @param formDTO * @author zxc * @date 2022/9/27 09:23 */ List getIdCardsByScope(DataSyncTaskParam formDTO); List getIdCardsByScopeLimit(DataSyncTaskParam formDTO); List getIdCardsForSiWang(@Param("start")int start, @Param("end")int end); DataSyncConfigDTO getConfigInfoByType(@Param("customerId") String customerId, @Param("switchStatus") String switchStatus,@Param("dataCode")String dataCode); }