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
c9661b77
Commit
c9661b77
authored
Oct 29, 2020
by
huangZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
c9dbd4df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
QywxGroupSyncOperation.java
...ic/haoban/manage/service/task/QywxGroupSyncOperation.java
+3
-3
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/task/QywxGroupSyncOperation.java
View file @
c9661b77
...
...
@@ -195,7 +195,7 @@ public class QywxGroupSyncOperation implements BaseSyncOperation {
logger
.
info
(
"没有配置secret:{},{}"
,
taskId
,
wxEnterpriseId
);
return
;
}
List
<
UserDTO
>
list
=
this
.
qywxUserApiService
.
listSelfDepartmentUser
(
wxEnterpriseDTO
.
getCorpid
(),
secretSetting
.
getSecretVal
(),
dataId
,
0
);
/*
List<UserDTO> list = this.qywxUserApiService.listSelfDepartmentUser(wxEnterpriseDTO.getCorpid(), secretSetting.getSecretVal(), dataId, 0);
if (null == list) {
logger.info("微信获取部门成员异常:{},{}",taskId,dataId);
return;
...
...
@@ -222,7 +222,7 @@ public class QywxGroupSyncOperation implements BaseSyncOperation {
return dealLog;
}).collect(Collectors.toList());
preDealService.insert(preDealLogList);
}
}
*/
boolean
b
=
preDealService
.
updateStatusByDataId
(
taskId
,
dataId
,
PreDealTypeEnum
.
group
.
getVal
(),
PreDealStatusEnum
.
computed
.
getVal
(),
"成功"
);
if
(!
b
)
{
logger
.
info
(
"成功修改错误!{}"
,
dataId
);
...
...
@@ -250,7 +250,7 @@ public class QywxGroupSyncOperation implements BaseSyncOperation {
logger
.
info
(
"微信获取部门成员异常:{},{}"
,
taskId
,
dataId
);
return
;
}
logger
.
info
(
"是否已经进来了,进来"
);
//预处理门店 写入预处理表
if
(
CollectionUtils
.
isNotEmpty
(
list
))
{
List
<
TabHaobanPreDealLog
>
preDealLogList
=
list
.
stream
().
filter
(
mid
->
{
...
...
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