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
0c39bacd
Commit
0c39bacd
authored
Feb 26, 2024
by
NGUYEN HOANG SON
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix get need sync all operation and loading msg
parent
11946954
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
ABVJE_BL/src/jp/agentec/abook/abv/bl/data/dao/OperationDao.java
+4
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/OperationListActivity.java
+2
-6
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/data/dao/OperationDao.java
View file @
0c39bacd
...
...
@@ -606,4 +606,8 @@ public class OperationDao extends AbstractDao {
Logger
.
e
(
TAG
,
e
);
}
}
public
List
<
OperationDto
>
getNeedSyncAllOperation
()
{
return
rawQueryGetDtoList
(
"select tp.*, rpc.content_id from t_operation AS tp left outer join r_operation_content AS rpc on tp.operation_id = rpc.operation_id where tp.need_sync_flg = 1"
,
null
,
OperationDto
.
class
);
}
}
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/OperationListActivity.java
View file @
0c39bacd
...
...
@@ -492,11 +492,7 @@ public class OperationListActivity extends OperationActivity {
needSyncOperationList
.
add
(
operationDto
);
}
}
else
{
for
(
OperationDto
operationDto
:
mOperationDao
.
getAllOperation
())
{
if
(
operationDto
.
needSyncFlg
)
{
needSyncOperationList
.
add
(
operationDto
);
}
}
needSyncOperationList
.
addAll
(
mOperationDao
.
getNeedSyncAllOperation
());
}
if
(
needSyncOperationList
.
size
()
>
0
)
{
categoryBatchSync
(
needSyncOperationList
);
...
...
@@ -2463,7 +2459,7 @@ public class OperationListActivity extends OperationActivity {
return
;
}
mAutoSyncingFlg
=
true
;
showProgressPopup
();
showProgressPopup
(
getResources
().
getString
(
R
.
string
.
synchronizing
)
);
CommonExecutor
.
execute
(
new
Runnable
()
{
@Override
public
void
run
()
{
...
...
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