java 버전 맞춤3
This commit is contained in:
parent
d68b127001
commit
037e320137
@ -378,6 +378,7 @@ public class ObjectService {
|
|||||||
.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
|
.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
|
||||||
response = om.readValue(strResponse, PlanReqResponse.class);
|
response = om.readValue(strResponse, PlanReqResponse.class);
|
||||||
|
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
Map<String, Object> map = (Map<String, Object>) response.getResult();
|
Map<String, Object> map = (Map<String, Object>) response.getResult();
|
||||||
if ("E".equals(String.valueOf(map.get("resultCode")))) {
|
if ("E".equals(String.valueOf(map.get("resultCode")))) {
|
||||||
throw new QcastException(ErrorCode.INTERNAL_SERVER_ERROR,
|
throw new QcastException(ErrorCode.INTERNAL_SERVER_ERROR,
|
||||||
@ -464,7 +465,8 @@ public class ObjectService {
|
|||||||
.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
|
.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
|
||||||
response = om.readValue(strResponse, PlanReqResponse.class);
|
response = om.readValue(strResponse, PlanReqResponse.class);
|
||||||
|
|
||||||
Map<String, Object> map = (Map<String, Object>) response.getResult();
|
@SuppressWarnings("unchecked")
|
||||||
|
Map<String, Object> map = (Map<String, Object>) response.getResult();
|
||||||
if ("E".equals(String.valueOf(map.get("resultCode")))) {
|
if ("E".equals(String.valueOf(map.get("resultCode")))) {
|
||||||
throw new QcastException(ErrorCode.INTERNAL_SERVER_ERROR,
|
throw new QcastException(ErrorCode.INTERNAL_SERVER_ERROR,
|
||||||
String.valueOf(map.get("resultMsg")));
|
String.valueOf(map.get("resultMsg")));
|
||||||
@ -545,7 +547,8 @@ public class ObjectService {
|
|||||||
.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
|
.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
|
||||||
response = om.readValue(strResponse, PlanReqResponse.class);
|
response = om.readValue(strResponse, PlanReqResponse.class);
|
||||||
|
|
||||||
Map<String, Object> map = (Map<String, Object>) response.getResult();
|
@SuppressWarnings("unchecked")
|
||||||
|
Map<String, Object> map = (Map<String, Object>) response.getResult();
|
||||||
if ("E".equals(String.valueOf(map.get("resultCode")))) {
|
if ("E".equals(String.valueOf(map.get("resultCode")))) {
|
||||||
throw new QcastException(ErrorCode.INTERNAL_SERVER_ERROR,
|
throw new QcastException(ErrorCode.INTERNAL_SERVER_ERROR,
|
||||||
String.valueOf(map.get("resultMsg")));
|
String.valueOf(map.get("resultMsg")));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user