You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							136 lines
						
					
					
						
							3.2 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							136 lines
						
					
					
						
							3.2 KiB
						
					
					
				| package com.epmet.service; | |
| 
 | |
| import com.epmet.commons.mybatis.service.BaseService; | |
| import com.epmet.commons.tools.dto.form.PageFormDTO; | |
| import com.epmet.commons.tools.page.PageData; | |
| import com.epmet.commons.tools.security.dto.TokenDto; | |
| import com.epmet.dto.DataSyncConfigDTO; | |
| import com.epmet.dto.form.ConfigSwitchFormDTO; | |
| import com.epmet.dto.form.DataSyncTaskParam; | |
| import com.epmet.dto.form.ScopeSaveFormDTO; | |
| import com.epmet.dto.result.NatUserInfoResultDTO; | |
| import com.epmet.entity.DataSyncConfigEntity; | |
| import com.epmet.entity.IcSyncJobEntity; | |
| 
 | |
| import java.util.List; | |
| 
 | |
| /** | |
|  * 数据更新配置表 | |
|  * | |
|  * @author generator generator@elink-cn.com | |
|  * @since v1.0.0 2022-09-26 | |
|  */ | |
| public interface DataSyncConfigService extends BaseService<DataSyncConfigEntity> { | |
| 
 | |
|     /** | |
|      * 单条查询 | |
|      * | |
|      * @param id | |
|      * @return DataSyncConfigDTO | |
|      * @author generator | |
|      * @date 2022-09-26 | |
|      */ | |
|     DataSyncConfigDTO get(String id); | |
| 
 | |
|     /** | |
|      * 默认保存 | |
|      * | |
|      * @param dto | |
|      * @return void | |
|      * @author generator | |
|      * @date 2022-09-26 | |
|      */ | |
|     void save(DataSyncConfigDTO dto); | |
| 
 | |
|     /** | |
|      * 默认更新 | |
|      * | |
|      * @param dto | |
|      * @return void | |
|      * @author generator | |
|      * @date 2022-09-26 | |
|      */ | |
|     void update(DataSyncConfigDTO dto); | |
| 
 | |
|     /** | |
|      * 批量删除 | |
|      * | |
|      * @param ids | |
|      * @return void | |
|      * @author generator | |
|      * @date 2022-09-26 | |
|      */ | |
|     void delete(String[] ids); | |
| 
 | |
|     /** | |
|      * Desc: 【数据配置】配置开关 | |
|      * @param formDTO | |
|      * @author zxc | |
|      * @date 2022/9/26 14:36 | |
|      */ | |
|     void configSwitch(ConfigSwitchFormDTO formDTO); | |
| 
 | |
|     /** | |
|      * Desc: 【数据配置】列表 | |
|      * @param tokenDto | |
|      * @author zxc | |
|      * @date 2022/9/26 15:04 | |
|      */ | |
|     PageData list(TokenDto tokenDto, PageFormDTO formDTO); | |
| 
 | |
|     /** | |
|      * Desc: 【数据配置】范围保存 | |
|      * @param formDTO | |
|      * @author zxc | |
|      * @date 2022/9/26 15:41 | |
|      */ | |
|     void scopeSave(ScopeSaveFormDTO formDTO); | |
| 
 | |
|     void dataSyncForYanTaiTask(DataSyncTaskParam formDTO); | |
| 
 | |
|     /** | |
|      * @Description 死亡信息定时拉取 | |
|      * @param formDTO | |
|      * @Author zxc | |
|      * @Date 2022/11/8 09:01 | |
|      */ | |
|     void deathInfoScanTask(DataSyncTaskParam formDTO); | |
| 
 | |
|     /** | |
|      * @Description 残疾信息定时拉取 | |
|      * @param formDTO | |
|      * @Author zxc | |
|      * @Date 2022/11/8 09:01 | |
|      */ | |
|     void disabilityInfoScanTask(DataSyncTaskParam formDTO); | |
| 
 | |
|     /** | |
|      * @Description 核酸检测信息定时拉取 | |
|      * @param formDTO | |
|      * @Author zxc | |
|      * @Date 2022/11/8 10:37 | |
|      */ | |
|     void natInfoScanTask(DataSyncTaskParam formDTO); | |
| 
 | |
|     void natInfoSyncButton(DataSyncTaskParam formDTO); | |
| 
 | |
|     List<NatUserInfoResultDTO> getNatUserInfoFromDb(DataSyncTaskParam formDTO, int pageNo, int pageSize); | |
| 
 | |
|     /** | |
|      * 烟台核酸检测(视图方式获取数据) | |
|      * @param resiInfos | |
|      * @param customerId | |
|      * @param isSync | |
|      */ | |
|     void yantaiHsjcByDbView(List<NatUserInfoResultDTO> resiInfos, String customerId, String isSync); | |
| 
 | |
|     /** | |
|      * 更新居民核酸检测信息(通过任务处理器) | |
|      * @author wxz | |
|      * @date 2022/11/8 下午8:17 | |
|      * @param jobEntity | |
|  | |
|      */ | |
|     void execSyncByJobProcessor(IcSyncJobEntity jobEntity); | |
| 
 | |
| }
 | |
| 
 |