From e567f0b52e9fa68d411370edceb965429c5f0932 Mon Sep 17 00:00:00 2001 From: leijun Date: Thu, 13 Sep 2018 09:40:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Ddns=E3=80=81http=E3=80=81ssl?= =?UTF-8?q?=E3=80=81=E9=82=AE=E4=BB=B6=20=E4=BF=AE=E6=94=B9=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=90=8E=E4=BF=AE=E6=94=B9=E4=BA=BA=E5=91=98=E4=B8=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/nis/web/service/configuration/MailCfgService.java | 2 ++ .../nis/web/service/configuration/WebsiteCfgService.java | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/src/main/java/com/nis/web/service/configuration/MailCfgService.java b/src/main/java/com/nis/web/service/configuration/MailCfgService.java index e5dcc8427..e2d350583 100644 --- a/src/main/java/com/nis/web/service/configuration/MailCfgService.java +++ b/src/main/java/com/nis/web/service/configuration/MailCfgService.java @@ -153,6 +153,8 @@ public class MailCfgService extends CrudService { } } }else{ + entity.setEditorId(entity.getCurrentUser().getId()); + entity.setEditTime(new Date()); mailCfgDao.updateCfgIndex(entity); //无效子配置后,再新增子配置 mailCfgDao.deleteMailIpCfg(entity); diff --git a/src/main/java/com/nis/web/service/configuration/WebsiteCfgService.java b/src/main/java/com/nis/web/service/configuration/WebsiteCfgService.java index c3e68e4b9..257482063 100644 --- a/src/main/java/com/nis/web/service/configuration/WebsiteCfgService.java +++ b/src/main/java/com/nis/web/service/configuration/WebsiteCfgService.java @@ -184,6 +184,8 @@ public class WebsiteCfgService extends CrudService { } }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 { } }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 { } }else{ + entity.setEditorId(entity.getCurrentUser().getId()); + entity.setEditTime(new Date()); websiteCfgDao.updateCfgIndex(entity); //无效子配置后,再新增子配置 websiteCfgDao.deleteDnsIpCfg(entity);