Commit cd891278 by Kazuyuki Hida

オフライン時に保存したデータをオンライン復帰後にCMSに送れるようにした。

parent 1eddccd8
...@@ -1506,6 +1506,8 @@ public class OperationLogic extends AbstractLogic { ...@@ -1506,6 +1506,8 @@ public class OperationLogic extends AbstractLogic {
taskReportDto.dataSendFlg = true; taskReportDto.dataSendFlg = true;
taskReportDto.attachedFileSendFlg = true; taskReportDto.attachedFileSendFlg = true;
mTaskReportDao.update(taskReportDto); mTaskReportDao.update(taskReportDto);
// CMSへの送信は打ち切り
return;
} else { } else {
throw ex; throw ex;
} }
......
...@@ -107,7 +107,7 @@ public class ABookCheckWebViewHelper extends ABookHelper { ...@@ -107,7 +107,7 @@ public class ABookCheckWebViewHelper extends ABookHelper {
insertOrUpdateTaskReport(taskKey, enableReportHistory, operationId, contentId, param, contentPath, reportType, taskReportLevel, false); insertOrUpdateTaskReport(taskKey, enableReportHistory, operationId, contentId, param, contentPath, reportType, taskReportLevel, false);
copyTaskAttachedMovie(operationId, contentId, taskKey, taskReportLevel); copyTaskAttachedMovie(operationId, contentId, taskKey, taskReportLevel);
sendTaskData(context, operationId, taskKey, taskReportLevel); sendTaskData(context, operationId, taskKey, taskReportLevel);
// 作業ステータスのカウントを変える todo:要リファクタリング // 作業ステータスのカウントを変える todo:要リファクタリング(直すのはともかく動作確認する時間が惜しい)
OperationDao operationDao = AbstractDao.getDao(OperationDao.class); OperationDao operationDao = AbstractDao.getDao(OperationDao.class);
if (isLocalSaved) { if (isLocalSaved) {
operationDao.coutUpCompletedFromWorking(operationId); operationDao.coutUpCompletedFromWorking(operationId);
......
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