修复dns、http、ssl、邮件 修改数据后修改人员不显示问题

This commit is contained in:
leijun
2018-09-13 09:40:56 +08:00
parent af526ab957
commit e567f0b52e
2 changed files with 8 additions and 0 deletions

View File

@@ -153,6 +153,8 @@ public class MailCfgService extends CrudService<MailCfgDao,CfgIndexInfo> {
}
}
}else{
entity.setEditorId(entity.getCurrentUser().getId());
entity.setEditTime(new Date());
mailCfgDao.updateCfgIndex(entity);
//无效子配置后,再新增子配置
mailCfgDao.deleteMailIpCfg(entity);

View File

@@ -184,6 +184,8 @@ public class WebsiteCfgService extends CrudService<WebsiteCfgDao,CfgIndexInfo> {
}
}else{
entity.setEditorId(entity.getCurrentUser().getId());
entity.setEditTime(new Date());
websiteCfgDao.updateCfgIndex(entity);
//无效子配置后,再新增子配置
websiteCfgDao.deleteHttpIpCfg(entity);
@@ -562,6 +564,8 @@ public class WebsiteCfgService extends CrudService<WebsiteCfgDao,CfgIndexInfo> {
}
}else{
entity.setEditorId(entity.getCurrentUser().getId());
entity.setEditTime(new Date());
websiteCfgDao.updateCfgIndex(entity);
//无效子配置后,再新增子配置
websiteCfgDao.deleteSslIpCfg(entity);
@@ -824,6 +828,8 @@ public class WebsiteCfgService extends CrudService<WebsiteCfgDao,CfgIndexInfo> {
}
}else{
entity.setEditorId(entity.getCurrentUser().getId());
entity.setEditTime(new Date());
websiteCfgDao.updateCfgIndex(entity);
//无效子配置后,再新增子配置
websiteCfgDao.deleteDnsIpCfg(entity);