1.修改分组域配置批量删除逻辑
2.修正分组域配置删除提示信息 3.补漏表单GroupName必填
This commit is contained in:
@@ -191,7 +191,7 @@ public class ScriberIdCommGroupService extends CrudService<CrudDao<ScriberIdComm
|
||||
Properties props = groupController.getMsgProp();
|
||||
|
||||
// 配置未生效
|
||||
String updateStatusGroupIds = "";
|
||||
/*String updateStatusGroupIds = "";
|
||||
for (String groupId : serviceGroupIds.split(",")) {
|
||||
List<CfgIndexInfo> list = commonPolicyDao.getObjGroupListByGroupIds(groupId, 888, Constants.VALID_NO);
|
||||
if(list.size() > 0) {
|
||||
@@ -209,13 +209,19 @@ public class ScriberIdCommGroupService extends CrudService<CrudDao<ScriberIdComm
|
||||
|
||||
List<PolicyGroupInfo> policyGroupInfos=policyGroupInfoDao.findPolicyByServiceGroupInfoList(updateStatusGroupIds);
|
||||
groupManageService.updateGroupStatus(policyGroupInfos, Constants.SUBID_OBJ_GROUP_TYPE);
|
||||
}
|
||||
}*/
|
||||
|
||||
// 配置已生效
|
||||
// 配置已生效×
|
||||
// 组下无域配置common_group_ids -> "",ud_flag -> 0
|
||||
CfgIndexInfo entity = new CfgIndexInfo();
|
||||
entity.setUserRegion5(serviceGroupIds);
|
||||
entity.setServiceId(0);
|
||||
entity.setFunctionId(888);
|
||||
entity.setCommonGroupIds("");
|
||||
commonPolicyDao.updateCfgIndexCommonGroupIdsBatch(entity);
|
||||
List<PolicyGroupInfo> policyGroupInfos=policyGroupInfoDao.findPolicyByServiceGroupInfoList(serviceGroupIds);
|
||||
groupManageService.updateGroupStatus(policyGroupInfos, Constants.SUBID_OBJ_GROUP_TYPE);
|
||||
|
||||
entity.setServiceId(0);
|
||||
entity.setIsValid(Constants.VALID_NO);
|
||||
entity.setIsAudit(Constants.AUDIT_NOT_YES);
|
||||
entity.setBatchAuditValue("1");
|
||||
|
||||
Reference in New Issue
Block a user