导出文件名空格替换下划线

This commit is contained in:
leijun
2018-10-22 14:08:22 +08:00
parent 03a1991612
commit 09a0c49f93
3 changed files with 12 additions and 2 deletions

View File

@@ -76,10 +76,14 @@ public class InterceptCfgService extends CrudService<WebsiteCfgDao,CfgIndexInfo>
public CfgIndexInfo exportIpInfo(CfgIndexInfo entity){
List<IpPortCfg> ipPortList = websiteCfgDao.getIpPortList(entity);
entity.setIpPortList(ipPortList);
if(StringUtils.isNotBlank(entity.getUserRegion1())) {
if(ipPortList!=null){
entity.setIpPortList(ipPortList);
}
if(entity.getFunctionId()!=null) {
List<InterceptPktBin> info=interceptCfgDao.getInterceptPktBin(entity);
if(info!=null){
entity.setInterceptPktBinList(info);
}
}
return entity;
}