Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
b16addf9
Commit
b16addf9
authored
Apr 13, 2020
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
同步优化初步3
parent
68543c35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
StoreSyncOperation.java
...om/gic/haoban/manage/service/task/StoreSyncOperation.java
+2
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/task/StoreSyncOperation.java
View file @
b16addf9
...
...
@@ -131,6 +131,7 @@ public class StoreSyncOperation implements BaseSyncOperation {
return
;
}
List
<
ClerkListDTO
>
clerks
=
clerkService
.
getClerkByStoreId
(
enterpriseId
,
dataId
);
logger
.
info
(
"导入clerk:{}"
,
JSONObject
.
toJSONString
(
clerks
));
//预处理门店 写入预处理表
if
(
CollectionUtils
.
isNotEmpty
(
clerks
))
{
List
<
TabHaobanPreDealLog
>
preDealLogList
=
clerks
.
stream
().
map
(
clerkMid
->
{
...
...
@@ -157,7 +158,7 @@ public class StoreSyncOperation implements BaseSyncOperation {
if
(!
b
)
{
return
;
}
logger
.
info
(
"
部门继续成功,开始门店
同步:{}"
,
taskId
);
logger
.
info
(
"
门店继续成功,成员
同步:{}"
,
taskId
);
String
key
=
"haoban_sync_store_task_"
+
taskId
;
RedisUtil
.
lock
(
key
,
3L
);
TabHaobanSyncTask
syncTask
=
syncTaskService
.
getSyncTask
(
taskId
);
...
...
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