Commit f2866eb6 by Lee Jaebin

#33492 作業一括更新後にアプリ側の更新ボタンをタップしても更新できない

parent 117f258e
...@@ -269,7 +269,7 @@ public class OperationLogic extends AbstractLogic { ...@@ -269,7 +269,7 @@ public class OperationLogic extends AbstractLogic {
if (taskReportJson != null) { if (taskReportJson != null) {
// suggest登録・更新処理 // suggest登録・更新処理
registTaskReportItem(taskKey, reportLevel, taskReportJson.getJSONObject("suggest")); registTaskReportItem(taskKey, reportLevel, taskReportJson.has("suggest") ? taskReportJson.getJSONObject("suggest") : null);
taskReportDto.jsonData = taskReportJson.toString(); taskReportDto.jsonData = taskReportJson.toString();
} else { } else {
// taskJsonがnullの場合、jsonDataに空でセット // taskJsonがnullの場合、jsonDataに空でセット
...@@ -331,7 +331,7 @@ public class OperationLogic extends AbstractLogic { ...@@ -331,7 +331,7 @@ public class OperationLogic extends AbstractLogic {
} }
if (taskReportJson != null) { if (taskReportJson != null) {
// suggest登録・更新処理 // suggest登録・更新処理
registTaskReportItem(taskKey, taskReportLevel, taskReportJson.getJSONObject("suggest")); registTaskReportItem(taskKey, taskReportLevel, taskReportJson.has("suggest") ? taskReportJson.getJSONObject("suggest") : null);
taskReportDto.jsonData = taskReportJson.toString(); taskReportDto.jsonData = taskReportJson.toString();
} else { } else {
......
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