obj-group-list批量操作打开
This commit is contained in:
@@ -197,6 +197,7 @@ public class ObjectGroupController extends BaseController {
|
||||
}
|
||||
|
||||
BaseCfg batchCfg = new BaseCfg();
|
||||
batchCfg.setTableName(CfgIndexInfo.getTablename());
|
||||
batchCfg.setIsValid(-1);
|
||||
batchCfg.setIsAudit(0);
|
||||
batchCfg.setEditTime(new Date());
|
||||
@@ -226,7 +227,7 @@ public class ObjectGroupController extends BaseController {
|
||||
BeanUtils.copyProperties(cfg, baseCfg);
|
||||
baseCfgList.add(baseCfg);
|
||||
}
|
||||
if(serviceGroupIds.lastIndexOf(",")==(serviceGroupIds.toString().length()-1)){
|
||||
if(StringUtils.isNotBlank(serviceGroupIds)&&serviceGroupIds.lastIndexOf(",")==(serviceGroupIds.toString().length()-1)){
|
||||
serviceGroupIds.deleteCharAt(serviceGroupIds.toString().length()-1);
|
||||
}
|
||||
hasData = objectGroupService.batchDeleteMaatData(page, batchCfg, baseCfgList, hasData,serviceGroupIds.toString());
|
||||
|
||||
Reference in New Issue
Block a user