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
0
Merge Requests
0
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
d2f75c62
Commit
d2f75c62
authored
Apr 13, 2020
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
同步优化初步3
parent
b16addf9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
GroupSyncOperation.java
...om/gic/haoban/manage/service/task/GroupSyncOperation.java
+1
-0
StoreSyncOperation.java
...om/gic/haoban/manage/service/task/StoreSyncOperation.java
+1
-1
PreDealLogMapper.xml
...e3-service/src/main/resources/mapper/PreDealLogMapper.xml
+2
-2
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/task/GroupSyncOperation.java
View file @
d2f75c62
...
...
@@ -149,6 +149,7 @@ public class GroupSyncOperation implements BaseSyncOperation {
dealLog
.
setTaskId
(
taskId
);
dealLog
.
setEnterpriseId
(
storeDTO
.
getEnterpriseId
());
dealLog
.
setWxEnterpriseId
(
wxEnterpriseId
);
dealLog
.
setEnterpriseId
(
enterpriseId
);
return
dealLog
;
}).
collect
(
Collectors
.
toList
());
preDealService
.
insert
(
preDealLogList
);
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/task/StoreSyncOperation.java
View file @
d2f75c62
...
...
@@ -131,7 +131,7 @@ public class StoreSyncOperation implements BaseSyncOperation {
return
;
}
List
<
ClerkListDTO
>
clerks
=
clerkService
.
getClerkByStoreId
(
enterpriseId
,
dataId
);
logger
.
info
(
"导入clerk:{}
"
,
JSONObject
.
toJSONString
(
clerks
));
logger
.
info
(
"导入clerk:{}
,{},{}"
,
enterpriseId
,
dataId
,
JSONObject
.
toJSONString
(
clerks
));
//预处理门店 写入预处理表
if
(
CollectionUtils
.
isNotEmpty
(
clerks
))
{
List
<
TabHaobanPreDealLog
>
preDealLogList
=
clerks
.
stream
().
map
(
clerkMid
->
{
...
...
haoban-manage3-service/src/main/resources/mapper/PreDealLogMapper.xml
View file @
d2f75c62
...
...
@@ -28,11 +28,11 @@
where id = #{id,jdbcType=INTEGER}
</delete>
<insert
id=
"insert"
parameterType=
"com.gic.haoban.manage.service.entity.TabHaobanPreDealLog"
>
insert into tab_haoban_pre_deal_log ( wx_enterprise_id, data_id,
insert into tab_haoban_pre_deal_log ( wx_enterprise_id,
enterprise_id,
data_id,
p_data_id, task_id, data_type,
status_flag, create_time, update_time
)
values (#{wxEnterpriseId,jdbcType=VARCHAR}, #{dataId,jdbcType=VARCHAR},
values (#{wxEnterpriseId,jdbcType=VARCHAR},
#{enterpriseId,jdbcType=VARCHAR},
#{dataId,jdbcType=VARCHAR},
#{pDataId,jdbcType=VARCHAR}, #{taskId,jdbcType=VARCHAR}, #{dataType,jdbcType=INTEGER},
#{statusFlag,jdbcType=INTEGER}, now(), now()
)
...
...
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