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
66535dfa
Commit
66535dfa
authored
Oct 26, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log
parent
0c9102ff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
DepartmentServiceImpl.java
...an/manage/service/service/impl/DepartmentServiceImpl.java
+1
-2
StaffDepartmentRelatedServiceImpl.java
...rvice/service/impl/StaffDepartmentRelatedServiceImpl.java
+1
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/DepartmentServiceImpl.java
View file @
66535dfa
...
@@ -311,8 +311,7 @@ public class DepartmentServiceImpl implements DepartmentService {
...
@@ -311,8 +311,7 @@ public class DepartmentServiceImpl implements DepartmentService {
@Override
@Override
public
List
<
DepartmentDTO
>
listDepartmentByWxDepartIds
(
String
wxEnterpriseId
,
List
<
String
>
wxDepartmentList
)
{
public
List
<
DepartmentDTO
>
listDepartmentByWxDepartIds
(
String
wxEnterpriseId
,
List
<
String
>
wxDepartmentList
)
{
return
null
;
return
EntityUtil
.
changeEntityListByJSON
(
DepartmentDTO
.
class
,
mapper
.
listDepartmentByWxDepartIds
(
wxEnterpriseId
,
wxDepartmentList
));
// return EntityUtil.changeEntityListByJSON(DepartmentDTO.class, mapper.listDepartmentByWxDepartIds(wxEnterpriseId, wxDepartmentList));
}
}
@Override
@Override
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/StaffDepartmentRelatedServiceImpl.java
View file @
66535dfa
...
@@ -178,7 +178,7 @@ public class StaffDepartmentRelatedServiceImpl implements StaffDepartmentRelated
...
@@ -178,7 +178,7 @@ public class StaffDepartmentRelatedServiceImpl implements StaffDepartmentRelated
//关联部门
//关联部门
List
<
DepartmentDTO
>
departmentDTOList
=
departmentService
.
listDepartmentByWxDepartIds
(
wxEnterpriseId
,
wxDepartIds
);
List
<
DepartmentDTO
>
departmentDTOList
=
departmentService
.
listDepartmentByWxDepartIds
(
wxEnterpriseId
,
wxDepartIds
);
if
(
CollectionUtils
.
isEmpty
(
departmentDTOList
))
{
if
(
CollectionUtils
.
isEmpty
(
departmentDTOList
))
{
logger
.
info
(
"部门没有更新或同步:
{}"
,
wxEnterpriseId
);
logger
.
info
(
"部门没有更新或同步:
wxEnterpriseId={},wxDepartIds={}"
,
wxEnterpriseId
,
wxDepartIds
);
if
(
retryFlag
)
{
if
(
retryFlag
)
{
Map
<
String
,
Object
>
map
=
new
HashMap
<>()
;
Map
<
String
,
Object
>
map
=
new
HashMap
<>()
;
map
.
put
(
"staffId"
,
staff
.
getStaffId
())
;
map
.
put
(
"staffId"
,
staff
.
getStaffId
())
;
...
...
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