Commit b25ef671 by Yujin Seo

Merge branch 'feature/contract/sato/1.0.300_52150_send_back' into 'contract/sato/1.0.300'

初回起動時に差戻のアイコンやメッセージが表示されない不具合を修正

See merge request !291
parents 382d667f 4ec3f0c9
......@@ -306,6 +306,8 @@ public class OperationLogic extends AbstractLogic {
boolean attachedChangeFlag,
boolean dataSendFlg,
boolean localSavedFlg,
TaskReportDto.SendBackInfo sendBackInfo,
TaskReportDto.LockInfo lockInfo,
int taskStatus
) throws IOException {
TaskDto taskDto = mTaskDao.getTaskByTaskKey(taskKey);
......@@ -337,6 +339,16 @@ public class OperationLogic extends AbstractLogic {
if (localAttachedFileName != null) {
taskReportDto.localAttachedFileName = localAttachedFileName;
}
if (sendBackInfo != null) {
taskReportDto.sendBackUserId = sendBackInfo.sendBackUserId;
taskReportDto.sendBackUserName = sendBackInfo.sendBackUserName;
taskReportDto.sendBackComment = sendBackInfo.sendBackComment;
}
if (lockInfo != null) {
taskReportDto.reportLockUserId = lockInfo.reportLockUserId;
taskReportDto.reportLockUserName = lockInfo.reportLockUserName;
taskReportDto.reportLockTime = lockInfo.reportLockTime;
}
taskReportDto.taskStatus = taskStatus;
mTaskReportDao.insert(taskReportDto);
......
......@@ -1061,6 +1061,8 @@ public class OperationListActivity extends OperationActivity {
false,
false,
false,
serverTaskReportDto.getSendBackInfo(),
serverTaskReportDto.getLockInfo(),
serverTaskDto.taskStatus);
} else {
// 更新
......
......@@ -398,6 +398,8 @@ public class ABookCheckWebViewHelper extends ABookHelper {
attachedChangeFlag,
localSavedFlg ? false : true,
localSavedFlg,
null,
null,
1
);
}
......
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