修改审核不通过状态的配置,再次修改,配置状态未修改为“未审核”,并且没有记录修改人员和修改日期问题
This commit is contained in:
@@ -80,6 +80,8 @@ public class BgpCfgService extends CrudService<BgpCfgDao,CfgIndexInfo> {
|
||||
public void saveBgpCfg(CfgIndexInfo entity){
|
||||
//设置区域运营商信息
|
||||
setAreaEffectiveIds(entity);
|
||||
entity.setIsValid(0);
|
||||
entity.setIsAudit(0);
|
||||
if(entity.getCfgId()==null){
|
||||
Integer compileId = 0;
|
||||
try {
|
||||
@@ -142,6 +144,8 @@ public class BgpCfgService extends CrudService<BgpCfgDao,CfgIndexInfo> {
|
||||
}
|
||||
|
||||
}else{
|
||||
entity.setEditorId(entity.getCurrentUser().getId());
|
||||
entity.setEditTime(new Date());
|
||||
bgpCfgDao.updateCfgIndex(entity);
|
||||
//无效子配置后,再新增子配置
|
||||
bgpCfgDao.deleteIpCfg(entity);
|
||||
|
||||
@@ -72,6 +72,8 @@ public class XmppCfgService extends CrudService<XmppCfgDao,CfgIndexInfo> {
|
||||
public void saveXmppCfg(CfgIndexInfo entity){
|
||||
//设置区域运营商信息
|
||||
setAreaEffectiveIds(entity);
|
||||
entity.setIsValid(0);
|
||||
entity.setIsAudit(0);
|
||||
if(entity.getCfgId()==null){
|
||||
Integer compileId = 0;
|
||||
try {
|
||||
@@ -112,6 +114,8 @@ public class XmppCfgService extends CrudService<XmppCfgDao,CfgIndexInfo> {
|
||||
|
||||
|
||||
}else{
|
||||
entity.setEditorId(entity.getCurrentUser().getId());
|
||||
entity.setEditTime(new Date());
|
||||
xmppCfgDao.updateCfgIndex(entity);
|
||||
//无效子配置后,再新增子配置
|
||||
xmppCfgDao.deleteXmppIpCfg(entity);
|
||||
|
||||
Reference in New Issue
Block a user