Commit 9002cb98 by Kazuyuki Hida

一時保存時にtaskStatusを設問に含まれる情報から取り出すタイミングを変えた

parent 1c84e4cb
......@@ -373,7 +373,10 @@ public class ABookCheckWebViewHelper extends ABookHelper {
// task登録・更新処理
mOperationLogic.registTaskData(taskKey, operationId, hotSpotInfo, taskJson);
int taskStatus = 0;
TaskReportDto taskReportDto = mOperationLogic.getTaskReport(taskKey, taskReportLevel);
int taskStatus = taskReportDto != null ? taskReportDto.taskStatus : 0;
if (localSavedFlg) {
// 一時保存の場合、q_3_???の値でtaskStatusを取り出す
Iterator<String> keys = taskJson.keys();
......@@ -385,7 +388,6 @@ public class ABookCheckWebViewHelper extends ABookHelper {
}
}
TaskReportDto taskReportDto = mOperationLogic.getTaskReport(taskKey, taskReportLevel);
if (taskReportDto != null) {
// 更新
mOperationLogic.updateTaskReport(
......
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