Merge branch 'wvp-28181-2.0' into wvp-28181-2.0

This commit is contained in:
648540858
2023-06-20 14:15:27 +08:00
committed by GitHub
35 changed files with 4132 additions and 653 deletions

View File

@@ -403,8 +403,12 @@ public class PlatformController {
if (platform == null) {
throw new ControllerException(ErrorCode.ERROR100.getCode(), "平台未找到");
}
if (platformId.equals(parentId)) {
parentId = platform.getDeviceGBId();
// if (platformId.equals(parentId)) {
// parentId = platform.getDeviceGBId();
// }
if (platformId.equals(platform.getDeviceGBId())) {
parentId = null;
}
return storager.getChildrenCatalogByPlatform(platformId, parentId);