Commit e9bd74d3 by Kim Jinsung

Merge branch 'contract/sato/1.0.500_58192' into 'contract/sato/1.0.500'

#58192 set default reportStatus : 0

See merge request !323
parents 635e8deb e3876eb7
...@@ -579,7 +579,7 @@ public class AcmsClient implements AcmsClientResponseListener { ...@@ -579,7 +579,7 @@ public class AcmsClient implements AcmsClientResponseListener {
// JSのコールバックに渡すために必要な情報をストックしておく(暫定的な実装 fixme ) // JSのコールバックに渡すために必要な情報をストックしておく(暫定的な実装 fixme )
if (apiUrl.contains(AcmsApis.ApiSendTaskData)) { if (apiUrl.contains(AcmsApis.ApiSendTaskData)) {
JSONObject res = new JSONObject(result.httpResponseBody); JSONObject res = new JSONObject(result.httpResponseBody);
int reportStatus = res.has(ReportStatus) ? res.getInt(ReportStatus) : 999; int reportStatus = res.has(ReportStatus) ? res.getInt(ReportStatus) : 0;
String message = res.has(Message) ? res.getString(Message) : null; String message = res.has(Message) ? res.getString(Message) : null;
ReportStatusLogic.TaskReportExtParam.stock(String.valueOf(reportStatus), message); ReportStatusLogic.TaskReportExtParam.stock(String.valueOf(reportStatus), message);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment