Commit 0d547038 by Yuichiro Ogawa

#37799 稼働時間管理

parent 92872634
......@@ -1024,7 +1024,7 @@ public class AcmsClient implements AcmsClientResponseListener {
* @throws AcmsException
*/
public JSONObject checkRunningStatus(CheckRunningOperationParameters param) throws NetworkDisconnectedException, AcmsException {
HttpResponse response = send(AcmsApis.ApiGetOperationData, param);
HttpResponse response = send(AcmsApis.ApiCheckRunningStatus, param);
JSONObject json = new JSONObject(response.httpResponseBody);
return json;
}
......
......@@ -160,7 +160,7 @@ public class AcmsApis {
// 絞り検索マスタデータ取得
public static final String ApiGetApertureMasterData = "getApertureMasterData";
// KAGOME Ph2 稼働時間登録可否チェック
public static final String ApiCheckRunningOperation = "checkRunningOperation";
public static final String ApiCheckRunningStatus = "checkRunningStatus";
// download
/**
......@@ -206,7 +206,7 @@ public class AcmsApis {
methodName.equals(ApiGetTaskFile) || methodName.equals(ApiSceneEntry) || methodName.equals(ApiTaskContentEntry) ||
methodName.equals(ApiSendPushMessage) || methodName.equals(ApiGetPushMessages) || methodName.equals(ApiSendRoutineTaskData) ||
methodName.equals(ApiOperationGroupMaster) || methodName.equals(ApiGetApertureMasterData) || methodName.equals(ApiGetMasterData) ||
methodName.equals(ApiCheckRunningOperation)) {
methodName.equals(ApiCheckRunningStatus)) {
apiValue = Constant.ApiValue.checkapi;
}
......
......@@ -37,7 +37,7 @@ public class ABookKeys {
public static final String CMD_LABEL_PRINT = "labelPrint";
public static final String CMD_ABNORMALITY_REPORT = "abnormalityReport";
public static final String CMD_WEBVIEW_FINISH = "webviewFinish";
public static final String CMD_CHECK_RUNNING_OPERATION = "checkRunningOperation";
public static final String CMD_CHECK_RUNNING_OPERATION = "runningDataRegistable";
public static final String GPS_TYPE = "gpsType";
public static final String STATUS_CODE = "statusCode";
......@@ -72,7 +72,7 @@ public class ABookKeys {
public static final String RUNNING_INFO_OPERATION_NO = "operationNo";
public static final String RUNNING_INFO_RUNNING_STATUS = "runningStatus";
public static final String RUNNING_INFO_TIME = "time";
public static final String RUNNING_INFO_EMPLOYEE_CODE_LIST = "employeeCodeList";
public static final String RUNNING_INFO_EMPLOYEE_CODE_LIST = "employeeCodeListStr";
// KAGOME対応Ph2 品質異常報告パラメータend
// #32782 指示者テーブル関連削除 start
......
......@@ -1397,7 +1397,7 @@ public abstract class ABVContentViewActivity extends ABVAuthenticatedActivity {
try {
JSONObject json = AcmsClient.getInstance(ABVDataCache.getInstance().getUrlPath(), ABVEnvironment.getInstance().networkAdapter).checkRunningStatus(param);
Logger.w(TAG,"check running info complete");
afterABookCheckApi(mCmd, "", 0, "", json.getString("errMsgList"));
afterABookCheckApi(mCmd, "", 0, "", json.getJSONObject("errMsgMap").toString());
} catch (NetworkDisconnectedException e) {
Logger.w(TAG,e);
afterABookCheckApi(mCmd, "", 1, PatternStringUtil.patternToString(getApplicationContext(),
......
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