多媒体、ddos Excel导出功能

This commit is contained in:
leijun
2018-10-19 19:41:19 +08:00
parent 5655f16c32
commit 070dcb911c
21 changed files with 633 additions and 26 deletions

View File

@@ -113,6 +113,27 @@ public class WebsiteCfgService extends CrudService<WebsiteCfgDao,CfgIndexInfo> {
}
public Map<String, List> exportssl(CfgIndexInfo entity){
Map<String, List> dataMap=new HashMap<String, List>();
List<IpPortCfg> ipPortList = websiteCfgDao.getIpPortList(entity);
List<NtcSubscribeIdCfg> subscribeIdList = stringCfgDao.findSubscribeIdCfgListByCfgIndexInfo(entity);
entity.setCfgType("NTC_SSL_SNI");
List<BaseStringCfg> sslSniList = websiteCfgDao.getSslKewordList(entity);
entity.setCfgType("NTC_SSL_SAN");
List<BaseStringCfg> sslSanList = websiteCfgDao.getSslKewordList(entity);
entity.setCfgType("NTC_SSL_CN");
List<BaseStringCfg> sslCnList = websiteCfgDao.getSslKewordList(entity);
dataMap.put("NTC_UNIVERSAL_IP", ipPortList);
dataMap.put("NTC_SSL_SNI", sslSniList);
dataMap.put("NTC_SSL_SAN", sslSanList);
dataMap.put("NTC_SSL_CN", sslCnList);
dataMap.put("NTC_SUBSCRIBE_ID", subscribeIdList);
return dataMap;
}
public CfgIndexInfo getSslCfg(Long cfgId){
CfgIndexInfo entity = websiteCfgDao.getCfgIndexInfo(cfgId);
List<IpPortCfg> ipPortList = websiteCfgDao.getIpPortList(entity);