ftp、dns、mail、http导出
This commit is contained in:
@@ -86,6 +86,23 @@ public class FileTransferCfgService extends CrudService<FileTransferCfgDao,CfgIn
|
||||
entity.setStringList(keywordList);
|
||||
return entity;
|
||||
}
|
||||
|
||||
public Map<String, List> exportftp(CfgIndexInfo entity){
|
||||
Map<String, List> dataMap=new HashMap<String, List>();
|
||||
List<IpPortCfg> ipPortList = fileTransferCfgDao.getIpPortList(entity);
|
||||
entity.setCfgType("NTC_FTP_CONTENT");
|
||||
List<BaseStringCfg> keywordList = fileTransferCfgDao.getFtpKeywordList(entity);
|
||||
entity.setCfgType("NTC_FTP_URL");
|
||||
List<BaseStringCfg> urlwordList = fileTransferCfgDao.getFtpKeywordList(entity);
|
||||
List<NtcSubscribeIdCfg> subscribeIdList = stringCfgDao.findSubscribeIdCfgListByCfgIndexInfo(entity);
|
||||
dataMap.put("NTC_SUBSCRIBE_ID", subscribeIdList);
|
||||
dataMap.put("NTC_FTP_CONTENT", keywordList);
|
||||
dataMap.put("NTC_FTP_URL", urlwordList);
|
||||
dataMap.put("NTC_UNIVERSAL_IP", ipPortList);
|
||||
return dataMap;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 保存ftp配置
|
||||
* @param entity
|
||||
|
||||
Reference in New Issue
Block a user