修改时间,修改人添加

This commit is contained in:
wangxin
2018-08-25 11:55:40 +08:00
parent c8a6dd4055
commit c59408bd84
3 changed files with 4 additions and 3 deletions

View File

@@ -472,6 +472,8 @@ public class DomainService extends CrudService<DomainDao,HttpUrlCfg> {
}
}else{
entity.setEditTime(new Date());
entity.setEditorId(entity.getCurrentUser().getId());
websiteCfgDao.updateCfgIndex(entity);
//无效子配置后,再新增子配置
websiteCfgDao.deleteHttpUrlCfg(entity);

View File

@@ -144,6 +144,8 @@ public class IpCfgService extends CrudService<IpCfgDao,BaseIpCfg> {
}
}else{
entity.setEditTime(new Date());
entity.setEditorId(entity.getCurrentUser().getId());
ipCfgDao.updateCfgIndex(entity);
//无效子配置后,再新增子配置
ipCfgDao.deleteIpCfg(entity);

View File

@@ -52,7 +52,6 @@
}
$("h4[class*='ipPortListTitle']").each(function(){
var html="<spring:message code='"+cfgType+"'/>";
console.log(html);
$(this).find(".ipPortTitle").html(html);
});
var tabInfo=$(".ipPortList");
@@ -207,8 +206,6 @@
<input type="hidden" name="cfgId" value="${_cfg.cfgId}">
<input type="hidden" name="compileId" value="${_cfg.compileId}">
<input type="hidden" name="functionId" value="${_cfg.functionId}">
<input type="hidden" name="createTime" value="${_cfg.createTime}">
<input type="hidden" name="creatorId" value="${_cfg.creatorId}">
<input type="hidden" id="serviceId" name="serviceId"
value="${_cfg.serviceId}">
<c:forEach items="${regionList}" var="region">