协议配置审核方法参数名统一

This commit is contained in:
leijun
2019-04-17 09:55:11 +08:00
parent 7b27b457a2
commit 3acdae76d0
5 changed files with 16 additions and 16 deletions

View File

@@ -173,7 +173,7 @@ public class BgpCfgService extends CrudService<BgpCfgDao,CfgIndexInfo> {
if(isValid==1) {
entity.setIsAudit(1);
entity.setIsValid(1);
auditBgpCfg(entity, isValid,Constants.INSERT_ACTION);
auditBgpCfg(entity, entity.getIsAudit(),Constants.INSERT_ACTION);
}
}else{
@@ -240,7 +240,7 @@ public class BgpCfgService extends CrudService<BgpCfgDao,CfgIndexInfo> {
if(isValid==1) {
entity.setIsAudit(1);
entity.setIsValid(1);
auditBgpCfg(entity, isValid,Constants.UPDATE_ACTION);
auditBgpCfg(entity, entity.getIsAudit(),Constants.UPDATE_ACTION);
}
}
}

View File

@@ -486,7 +486,7 @@ public class DomainService extends CrudService<DomainDao,HttpUrlCfg> {
if(isValid==1) {
entity.setIsAudit(1);
entity.setIsValid(1);
auditDomainCfg(entity, isValid,Constants.INSERT_ACTION);
auditDomainCfg(entity, entity.getIsAudit(),Constants.INSERT_ACTION);
}
}else{
@@ -529,7 +529,7 @@ public class DomainService extends CrudService<DomainDao,HttpUrlCfg> {
if(isValid==1) {
entity.setIsAudit(1);
entity.setIsValid(1);
auditDomainCfg(entity, isValid,Constants.UPDATE_ACTION);
auditDomainCfg(entity, entity.getIsAudit(),Constants.UPDATE_ACTION);
}
}
}

View File

@@ -175,7 +175,7 @@ public class FileTransferCfgService extends CrudService<FileTransferCfgDao,CfgIn
if(isValid==1) {
entity.setIsAudit(1);
entity.setIsValid(1);
auditFtpCfg(entity, isValid,Constants.INSERT_ACTION);
auditFtpCfg(entity, entity.getIsAudit(),Constants.INSERT_ACTION);
}
}else{
@@ -231,7 +231,7 @@ public class FileTransferCfgService extends CrudService<FileTransferCfgDao,CfgIn
if(isValid==1) {
entity.setIsAudit(1);
entity.setIsValid(1);
auditFtpCfg(entity, isValid,Constants.UPDATE_ACTION);
auditFtpCfg(entity, entity.getIsAudit(),Constants.UPDATE_ACTION);
}
}
}
@@ -823,7 +823,7 @@ public class FileTransferCfgService extends CrudService<FileTransferCfgDao,CfgIn
if(isValid==1) {
entity.setIsAudit(1);
entity.setIsValid(1);
auditP2pCfg(entity, isValid,Constants.INSERT_ACTION);
auditP2pCfg(entity, entity.getIsAudit(),Constants.INSERT_ACTION);
}
}else{
@@ -890,7 +890,7 @@ public class FileTransferCfgService extends CrudService<FileTransferCfgDao,CfgIn
if(isValid==1) {
entity.setIsAudit(1);
entity.setIsValid(1);
auditP2pCfg(entity, isValid,Constants.UPDATE_ACTION);
auditP2pCfg(entity, entity.getIsAudit(),Constants.UPDATE_ACTION);
}
}
}

View File

@@ -180,7 +180,7 @@ public class MailCfgService extends CrudService<MailCfgDao,CfgIndexInfo> {
if(isValid==1) {
entity.setIsAudit(1);
entity.setIsValid(1);
auditMailCfg(entity, isValid,Constants.INSERT_ACTION);
auditMailCfg(entity, entity.getIsAudit(),Constants.INSERT_ACTION);
}
}else{
entity.setEditorId(entity.getCurrentUser().getId());
@@ -244,7 +244,7 @@ public class MailCfgService extends CrudService<MailCfgDao,CfgIndexInfo> {
if(isValid==1) {
entity.setIsAudit(1);
entity.setIsValid(1);
auditMailCfg(entity, isValid,Constants.UPDATE_ACTION);
auditMailCfg(entity, entity.getIsAudit(),Constants.UPDATE_ACTION);
}
}
}

View File

@@ -291,7 +291,7 @@ public class WebsiteCfgService extends CrudService<WebsiteCfgDao,CfgIndexInfo> {
if(isValid==1) {
entity.setIsAudit(1);
entity.setIsValid(1);
auditHttpCfg(entity, isValid,Constants.INSERT_ACTION);
auditHttpCfg(entity, entity.getIsAudit(),Constants.INSERT_ACTION);
}
}else{
@@ -371,7 +371,7 @@ public class WebsiteCfgService extends CrudService<WebsiteCfgDao,CfgIndexInfo> {
if(isValid==1) {
entity.setIsAudit(1);
entity.setIsValid(1);
auditHttpCfg(entity, isValid,Constants.UPDATE_ACTION);
auditHttpCfg(entity, entity.getIsAudit(),Constants.UPDATE_ACTION);
}
}
}
@@ -767,7 +767,7 @@ public class WebsiteCfgService extends CrudService<WebsiteCfgDao,CfgIndexInfo> {
if(isValid==1) {
entity.setIsAudit(1);
entity.setIsValid(1);
auditSslCfg(entity, isValid,Constants.INSERT_ACTION);
auditSslCfg(entity, entity.getIsAudit(),Constants.INSERT_ACTION);
}
}else{
@@ -818,7 +818,7 @@ public class WebsiteCfgService extends CrudService<WebsiteCfgDao,CfgIndexInfo> {
if(isValid==1) {
entity.setIsAudit(1);
entity.setIsValid(1);
auditSslCfg(entity, isValid,Constants.UPDATE_ACTION);
auditSslCfg(entity, entity.getIsAudit(),Constants.UPDATE_ACTION);
}
}
}
@@ -1060,7 +1060,7 @@ public class WebsiteCfgService extends CrudService<WebsiteCfgDao,CfgIndexInfo> {
if(isValid==1) {
entity.setIsAudit(1);
entity.setIsValid(1);
auditDnsCfg(entity, isValid,Constants.INSERT_ACTION);
auditDnsCfg(entity, entity.getIsAudit(),Constants.INSERT_ACTION);
}
}else{
@@ -1114,7 +1114,7 @@ public class WebsiteCfgService extends CrudService<WebsiteCfgDao,CfgIndexInfo> {
if(isValid==1) {
entity.setIsAudit(1);
entity.setIsValid(1);
auditDnsCfg(entity, isValid,Constants.UPDATE_ACTION);
auditDnsCfg(entity, entity.getIsAudit(),Constants.UPDATE_ACTION);
}
}
}