mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-24 07:19:46 +08:00
update 修正 PR 相关问题
This commit is contained in:
@ -88,7 +88,7 @@ public class SysOssConfigServiceImpl extends ServicePlusImpl<SysOssConfigMapper,
|
||||
@Override
|
||||
public Boolean deleteWithValidByIds(Collection<Integer> ids, Boolean isValid) {
|
||||
if(isValid) {
|
||||
if (CollUtil.containsAll(ids, CollUtil.newArrayList(1, 2, 3, 4))) {
|
||||
if (CollUtil.containsAny(ids, CollUtil.newArrayList(1, 2, 3, 4))) {
|
||||
throw new CustomException("系统内置, 不可删除!");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user