Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abook_check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_android
abook_check
Commits
68c6d0cb
Commit
68c6d0cb
authored
Jan 29, 2021
by
yuichiro ogawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#41415 一時保存データがCMS同期時に消えてしまう不具合の対応
parent
29dd360a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/OperationListActivity.java
+11
-0
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/OperationListActivity.java
View file @
68c6d0cb
...
@@ -1070,6 +1070,17 @@ public class OperationListActivity extends ABVUIActivity {
...
@@ -1070,6 +1070,17 @@ public class OperationListActivity extends ABVUIActivity {
}
}
// サーバーから取得した作業情報がローカルに存在しないので削除する
// サーバーから取得した作業情報がローカルに存在しないので削除する
for
(
TaskDto
taskDto
:
localTaskList
)
{
for
(
TaskDto
taskDto
:
localTaskList
)
{
// KAGOME #41415 複数端末で報告時にCMS同期すると、一時保存データがすべて消えてしまう不具合の対応
boolean
localSaved
=
false
;
List
<
TaskReportDto
>
taskReportDtos
=
mTaskReportDao
.
getTaskReportListByTaskKey
(
taskDto
.
taskKey
);
for
(
TaskReportDto
taskReportDto
:
taskReportDtos
)
{
if
(
taskReportDto
.
localSavedFlg
)
{
localSaved
=
true
;
break
;
}
}
if
(
localSaved
)
{
continue
;}
mOperationLogic
.
deleteTaskFileData
(
operationId
,
operationContentDto
.
contentId
,
taskDto
.
taskKey
,
TaskReportLevel
.
ReportType
);
mOperationLogic
.
deleteTaskFileData
(
operationId
,
operationContentDto
.
contentId
,
taskDto
.
taskKey
,
TaskReportLevel
.
ReportType
);
mTaskDao
.
delete
(
taskDto
);
mTaskDao
.
delete
(
taskDto
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment