修改所有业务,批量删除,仅删除一条bug
This commit is contained in:
@@ -1431,9 +1431,9 @@ public class AppCfgService extends BaseService {
|
||||
}
|
||||
|
||||
public void updateAppPolicyCfgValid(Integer isValid, String ids, Integer functionId) {
|
||||
AppPolicyCfg entity = new AppPolicyCfg();
|
||||
String[] idArray = ids.split(",");
|
||||
for (String id : idArray) {
|
||||
AppPolicyCfg entity = new AppPolicyCfg();
|
||||
entity.setCfgId(Long.parseLong(id));
|
||||
entity.setIsValid(isValid);
|
||||
entity.setEditorId(UserUtils.getUser().getId());
|
||||
@@ -1469,9 +1469,9 @@ public class AppCfgService extends BaseService {
|
||||
}
|
||||
|
||||
public void updateAppIpCfgValid(Integer isValid, String ids, Integer functionId) {
|
||||
AppIpCfg entity = new AppIpCfg();
|
||||
String[] idArray = ids.split(",");
|
||||
for (String id : idArray) {
|
||||
AppIpCfg entity = new AppIpCfg();
|
||||
entity.setCfgId(Long.parseLong(id));
|
||||
entity.setIsValid(isValid);
|
||||
entity.setEditorId(UserUtils.getUser().getId());
|
||||
@@ -1492,9 +1492,9 @@ public class AppCfgService extends BaseService {
|
||||
}
|
||||
|
||||
public void updateAppTcpCfgValid(Integer isValid, String ids, Integer functionId) {
|
||||
AppTcpCfg entity = new AppTcpCfg();
|
||||
String[] idArray = ids.split(",");
|
||||
for (String id : idArray) {
|
||||
AppTcpCfg entity = new AppTcpCfg();
|
||||
entity.setCfgId(Long.parseLong(id));
|
||||
entity.setIsValid(isValid);
|
||||
entity.setEditorId(UserUtils.getUser().getId());
|
||||
@@ -1515,9 +1515,9 @@ public class AppCfgService extends BaseService {
|
||||
}
|
||||
|
||||
public void updateAppHttpCfgValid(Integer isValid, String ids, Integer functionId) {
|
||||
AppHttpCfg entity = new AppHttpCfg();
|
||||
String[] idArray = ids.split(",");
|
||||
for (String id : idArray) {
|
||||
AppHttpCfg entity = new AppHttpCfg();
|
||||
entity.setCfgId(Long.parseLong(id));
|
||||
entity.setIsValid(isValid);
|
||||
entity.setEditorId(UserUtils.getUser().getId());
|
||||
@@ -1538,9 +1538,9 @@ public class AppCfgService extends BaseService {
|
||||
}
|
||||
|
||||
public void updateAppDomainCfgValid(Integer isValid, String ids, Integer functionId) {
|
||||
AppDomainCfg entity = new AppDomainCfg();
|
||||
String[] idArray = ids.split(",");
|
||||
for (String id : idArray) {
|
||||
AppDomainCfg entity = new AppDomainCfg();
|
||||
entity.setCfgId(Long.parseLong(id));
|
||||
entity.setIsValid(isValid);
|
||||
entity.setEditorId(UserUtils.getUser().getId());
|
||||
@@ -1562,9 +1562,9 @@ public class AppCfgService extends BaseService {
|
||||
|
||||
// 主题网站配置删除
|
||||
public void updateAppTopicDomainCfgValid(Integer isValid, String ids, Integer functionId) {
|
||||
AppTopicDomainCfg entity = new AppTopicDomainCfg();
|
||||
String[] idArray = ids.split(",");
|
||||
for (String id : idArray) {
|
||||
AppTopicDomainCfg entity = new AppTopicDomainCfg();
|
||||
entity.setCfgId(Long.parseLong(id));
|
||||
entity.setIsValid(isValid);
|
||||
entity.setEditorId(UserUtils.getUser().getId());
|
||||
@@ -1585,9 +1585,9 @@ public class AppCfgService extends BaseService {
|
||||
}
|
||||
|
||||
public void updateAppByteCfgValid(Integer isValid, String ids, Integer functionId) {
|
||||
AppByteCfg entity = new AppByteCfg();
|
||||
String[] idArray = ids.split(",");
|
||||
for (String id : idArray) {
|
||||
AppByteCfg entity = new AppByteCfg();
|
||||
entity.setCfgId(Long.parseLong(id));
|
||||
entity.setIsValid(isValid);
|
||||
entity.setEditorId(UserUtils.getUser().getId());
|
||||
@@ -1608,9 +1608,9 @@ public class AppCfgService extends BaseService {
|
||||
}
|
||||
|
||||
public void updateAppSslCfgValid(Integer isValid, String ids, Integer functionId) {
|
||||
AppSslCertCfg entity = new AppSslCertCfg();
|
||||
String[] idArray = ids.split(",");
|
||||
for (String id : idArray) {
|
||||
AppSslCertCfg entity = new AppSslCertCfg();
|
||||
entity.setCfgId(Long.parseLong(id));
|
||||
entity.setIsValid(isValid);
|
||||
entity.setEditorId(UserUtils.getUser().getId());
|
||||
@@ -1631,9 +1631,9 @@ public class AppCfgService extends BaseService {
|
||||
}
|
||||
|
||||
public void updateAppHeaderCfgValid(Integer isValid, String ids, Integer functionId) {
|
||||
AppHeaderCfg entity = new AppHeaderCfg();
|
||||
String[] idArray = ids.split(",");
|
||||
for (String id : idArray) {
|
||||
AppHeaderCfg entity = new AppHeaderCfg();
|
||||
entity.setCfgId(Long.parseLong(id));
|
||||
entity.setIsValid(isValid);
|
||||
entity.setEditorId(UserUtils.getUser().getId());
|
||||
|
||||
Reference in New Issue
Block a user