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
9373ebc9
Commit
9373ebc9
authored
Aug 17, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
通讯录
parent
dfd23c86
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
PreDealServiceImpl.java
...aoban/manage/service/service/impl/PreDealServiceImpl.java
+1
-1
QywxDeptSyncOperation.java
...gic/haoban/manage/service/task/QywxDeptSyncOperation.java
+1
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/PreDealServiceImpl.java
View file @
9373ebc9
...
@@ -53,7 +53,7 @@ public class PreDealServiceImpl implements PreDealService {
...
@@ -53,7 +53,7 @@ public class PreDealServiceImpl implements PreDealService {
}
}
int
i
=
0
;
int
i
=
0
;
while
(
i
<
pre
)
{
while
(
i
<
pre
)
{
logger
.
info
(
"
这是第{}次,进入
"
,
i
);
logger
.
info
(
"
分批保存第{}次
"
,
i
);
i
++;
i
++;
int
fromIndex
=
(
i
-
1
)
*
pageSize
;
int
fromIndex
=
(
i
-
1
)
*
pageSize
;
int
toIndex
=
(
count
-
fromIndex
)
>
pageSize
?
(
fromIndex
+
pageSize
)
:
count
;
int
toIndex
=
(
count
-
fromIndex
)
>
pageSize
?
(
fromIndex
+
pageSize
)
:
count
;
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/task/QywxDeptSyncOperation.java
View file @
9373ebc9
...
@@ -156,7 +156,7 @@ public class QywxDeptSyncOperation implements BaseSyncOperation {
...
@@ -156,7 +156,7 @@ public class QywxDeptSyncOperation implements BaseSyncOperation {
list
=
this
.
qywxUserApiService
.
listDepartmentUser
(
qwDTO
.
getThirdCorpid
(),
config
.
getWxSuiteid
(),
dataId
,
0
)
;
list
=
this
.
qywxUserApiService
.
listDepartmentUser
(
qwDTO
.
getThirdCorpid
(),
config
.
getWxSuiteid
(),
dataId
,
0
)
;
logger
.
info
(
"从(第三方)获取通讯录={}"
,
JSON
.
toJSONString
(
list
))
;
logger
.
info
(
"从(第三方)获取通讯录={}"
,
JSON
.
toJSONString
(
list
))
;
}
else
{
}
else
{
list
=
this
.
qywxUserApiService
.
listSelfDepartmentUser
(
qwDTO
.
getDkCorpid
(),
secretSetting
.
getSecretVal
(),
dataId
,
1
,
qwDTO
.
getUrlHost
());
list
=
this
.
qywxUserApiService
.
listSelfDepartmentUser
(
qwDTO
.
getDkCorpid
(),
secretSetting
.
getSecretVal
(),
dataId
,
0
,
qwDTO
.
getUrlHost
());
logger
.
info
(
"从(代开)获取通讯录={}"
,
JSON
.
toJSONString
(
list
))
;
logger
.
info
(
"从(代开)获取通讯录={}"
,
JSON
.
toJSONString
(
list
))
;
}
}
if
(
null
==
list
)
{
if
(
null
==
list
)
{
...
...
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