|
|
|
|
@ -4,6 +4,7 @@ import java.io.BufferedOutputStream;
|
|
|
|
|
import java.io.BufferedReader;
|
|
|
|
|
import java.io.InputStream;
|
|
|
|
|
import java.io.InputStreamReader;
|
|
|
|
|
import java.io.UnsupportedEncodingException;
|
|
|
|
|
import java.net.HttpURLConnection;
|
|
|
|
|
import java.net.URL;
|
|
|
|
|
import java.net.URLEncoder;
|
|
|
|
|
@ -1064,8 +1065,19 @@ public class CommRelayServerController {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
String carOwnerCi = mstChgList.get(0).get("CAR_OWNER_CI").toString();
|
|
|
|
|
String carOwnerCiAfterEncode = "";
|
|
|
|
|
try {
|
|
|
|
|
carOwnerCiAfterEncode = URLEncoder.encode(carOwnerCi,"UTF-8");
|
|
|
|
|
} catch (UnsupportedEncodingException e1) {
|
|
|
|
|
urdMap.put("REMARKS", "수동 재청구 안내문 발송 실패");
|
|
|
|
|
trsmrcvDao.updateFaraTerminalInfoRemarks(urdMap);
|
|
|
|
|
|
|
|
|
|
spResult.setMsg(ResultSmartPlatform.STATUS_ERROR, "CI 인코딩 오류");
|
|
|
|
|
return spResult.getResult();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Map<String, String> wsMap = new HashMap<String,String>();
|
|
|
|
|
wsMap.put("mberCi", carOwnerCi);
|
|
|
|
|
wsMap.put("mberCi", carOwnerCiAfterEncode);
|
|
|
|
|
wsMap.put("vhcleNo", carNo);
|
|
|
|
|
|
|
|
|
|
String insttNo = "";
|
|
|
|
|
@ -1094,21 +1106,21 @@ public class CommRelayServerController {
|
|
|
|
|
spResult.setMsg(ResultSmartPlatform.STATUS_ERROR, "바로녹색연계 실패(반환값없음)");
|
|
|
|
|
return spResult.getResult();
|
|
|
|
|
}
|
|
|
|
|
if(wsResultMap.get("result") == null || wsResultMap.get("result").isEmpty()){
|
|
|
|
|
if(wsResultMap.get("result") == null || wsResultMap.get("result").equals("")){
|
|
|
|
|
urdMap.put("REMARKS", "수동 재청구 안내문 발송 실패");
|
|
|
|
|
trsmrcvDao.updateFaraTerminalInfoRemarks(urdMap);
|
|
|
|
|
|
|
|
|
|
spResult.setMsg(ResultSmartPlatform.STATUS_ERROR, "바로녹색연계 실패(result프로퍼티 없음)");
|
|
|
|
|
return spResult.getResult();
|
|
|
|
|
}
|
|
|
|
|
if(!wsResultMap.get("result").toString().equals("SUCCESS")){
|
|
|
|
|
if(!wsResultMap.get("result").equals("SUCCESS")){
|
|
|
|
|
urdMap.put("REMARKS", "수동 재청구 안내문 발송 실패");
|
|
|
|
|
trsmrcvDao.updateFaraTerminalInfoRemarks(urdMap);
|
|
|
|
|
|
|
|
|
|
spResult.setMsg(ResultSmartPlatform.STATUS_ERROR, "바로녹색연계 실패(result프로퍼티 값이 SUCCESS가 아님)");
|
|
|
|
|
return spResult.getResult();
|
|
|
|
|
}
|
|
|
|
|
if(wsResultMap.get("data") == null || wsResultMap.get("data").isEmpty()){
|
|
|
|
|
if(wsResultMap.get("data") == null || wsResultMap.get("data").equals("")){
|
|
|
|
|
urdMap.put("REMARKS", "수동 재청구 안내문 발송 실패");
|
|
|
|
|
trsmrcvDao.updateFaraTerminalInfoRemarks(urdMap);
|
|
|
|
|
|
|
|
|
|
@ -1117,7 +1129,7 @@ public class CommRelayServerController {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JSONParser parser = new JSONParser();
|
|
|
|
|
JSONObject jsonResult = (JSONObject)parser.parse(wsResultMap.get("data").toString());
|
|
|
|
|
JSONObject jsonResult = (JSONObject)parser.parse(wsResultMap.get("data"));
|
|
|
|
|
|
|
|
|
|
if(jsonResult == null || jsonResult.isEmpty()){
|
|
|
|
|
urdMap.put("REMARKS", "수동 재청구 안내문 발송 실패");
|
|
|
|
|
@ -1303,7 +1315,6 @@ public class CommRelayServerController {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 동영상 생정을 위한 정보 조회
|
|
|
|
|
*
|
|
|
|
|
|