...
|
...
|
@@ -228,7 +228,7 @@ public class ResourceServiceImpl implements IResourceService{ |
|
|
}
|
|
|
|
|
|
Resources active = resourcesMapper.selectActiveByCode(thisResource.getCode());
|
|
|
if (active.getId().equals(bo.getId())) {
|
|
|
if (active != null && active.getId().equals(bo.getId())) {
|
|
|
throw new PlatformException("正在生效的资源位不能修改", 500);
|
|
|
}
|
|
|
}
|
...
|
...
|
|