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
3e188be6
Commit
3e188be6
authored
Feb 21, 2023
by
Kazuyuki Hida
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
同期時に、サーバーにないレコードをすべて削除していたが、local_saved_flgが立っているレコードは削除しないようにした。
parent
21c3225b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/OperationListActivity.java
+6
-2
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/OperationListActivity.java
View file @
3e188be6
...
@@ -1088,8 +1088,12 @@ public class OperationListActivity extends OperationActivity {
...
@@ -1088,8 +1088,12 @@ public class OperationListActivity extends OperationActivity {
}
}
// サーバーから取得した作業情報がローカルに存在しないので削除する
// サーバーから取得した作業情報がローカルに存在しないので削除する
for
(
TaskDto
taskDto
:
localTaskList
)
{
for
(
TaskDto
taskDto
:
localTaskList
)
{
mOperationLogic
.
deleteTaskFileData
(
operationId
,
operationContentDto
.
contentId
,
taskDto
.
taskKey
,
TaskReportLevel
.
ReportType
);
boolean
localSaved
=
mTaskReportDao
.
isLocalSaved
(
taskDto
.
taskKey
,
0
,
null
);
mTaskDao
.
delete
(
taskDto
);
// 一時保存があったらそれは消さない
if
(!
localSaved
)
{
mOperationLogic
.
deleteTaskFileData
(
operationId
,
operationContentDto
.
contentId
,
taskDto
.
taskKey
,
TaskReportLevel
.
ReportType
);
mTaskDao
.
delete
(
taskDto
);
}
}
}
lastEditDate
=
json
.
lastEditDate
;
lastEditDate
=
json
.
lastEditDate
;
progressCallback
.
callback
(
new
Integer
(
40
));
progressCallback
.
callback
(
new
Integer
(
40
));
...
...
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