统一国标设备与级联平台字符集的使用

This commit is contained in:
648540858
2022-03-17 10:29:49 +08:00
parent c8f9f19c38
commit 59ef6e67d3
8 changed files with 46 additions and 96 deletions

View File

@@ -29,6 +29,7 @@ import org.springframework.web.bind.annotation.*;
import com.genersoft.iot.vmp.conf.SipConfig;
import java.util.List;
import java.util.Locale;
/**
* 级联平台管理
@@ -230,6 +231,7 @@ public class PlatformController {
wvpResult.setMsg("missing parameters");
return new ResponseEntity<>(wvpResult, HttpStatus.BAD_REQUEST);
}
parentPlatform.setCharacterSet(parentPlatform.getCharacterSet().toUpperCase());
ParentPlatform parentPlatformOld = storager.queryParentPlatByServerGBId(parentPlatform.getServerGBId());
boolean updateResult = storager.updateParentPlatform(parentPlatform);