Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
F
feo-jobs
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
探普后端
feo-jobs
Commits
8a9f219b
Commit
8a9f219b
authored
Sep 10, 2021
by
吴泽佳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修复 员工离职又回来的的问题2
parent
0441be4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
OrgSyncByWxcpJob.java
...main/java/com/tanpu/feo/feojob/jobs/OrgSyncByWxcpJob.java
+4
-4
No files found.
src/main/java/com/tanpu/feo/feojob/jobs/OrgSyncByWxcpJob.java
View file @
8a9f219b
...
@@ -160,7 +160,7 @@ public class OrgSyncByWxcpJob {
...
@@ -160,7 +160,7 @@ public class OrgSyncByWxcpJob {
List
<
EmployeeRoleEntity
>
deleteList
=
new
ArrayList
<>();
List
<
EmployeeRoleEntity
>
deleteList
=
new
ArrayList
<>();
List
<
EmployeeRoleEntity
>
updateList
=
new
ArrayList
<>();
List
<
EmployeeRoleEntity
>
updateList
=
new
ArrayList
<>();
//获取 数据库 部门员工关系 信息
//获取 数据库 部门员工关系 信息
List
<
EmployeeRoleEntity
>
employeeRoleList
=
employeeRoleService
.
findInfoByOrgId
All
(
orgId
);
List
<
EmployeeRoleEntity
>
employeeRoleList
=
employeeRoleService
.
findInfoByOrgId
(
orgId
);
// 获取 role
// 获取 role
Map
<
String
,
String
>
roleMap
=
roleService
.
findInfoNoAdmin
();
Map
<
String
,
String
>
roleMap
=
roleService
.
findInfoNoAdmin
();
// 预处理 新数据
// 预处理 新数据
...
@@ -223,7 +223,7 @@ public class OrgSyncByWxcpJob {
...
@@ -223,7 +223,7 @@ public class OrgSyncByWxcpJob {
List
<
DepartmentEmployeeEntity
>
deleteList
=
new
ArrayList
<>();
List
<
DepartmentEmployeeEntity
>
deleteList
=
new
ArrayList
<>();
List
<
DepartmentEmployeeEntity
>
updateList
=
new
ArrayList
<>();
List
<
DepartmentEmployeeEntity
>
updateList
=
new
ArrayList
<>();
//获取 数据库 部门员工关系 信息
//获取 数据库 部门员工关系 信息
List
<
DepartmentEmployeeEntity
>
departmentEmployeeList
=
departmentEmployeeService
.
findInfoByOrgId
All
(
orgId
);
List
<
DepartmentEmployeeEntity
>
departmentEmployeeList
=
departmentEmployeeService
.
findInfoByOrgId
(
orgId
);
// 预处理 新数据
// 预处理 新数据
HashMap
<
String
,
WxCpUser
>
hashMap
=
new
HashMap
<>();
HashMap
<
String
,
WxCpUser
>
hashMap
=
new
HashMap
<>();
for
(
WxCpDepartDto
wxCpDepartDto
:
wxCpDepartDtoList
)
{
for
(
WxCpDepartDto
wxCpDepartDto
:
wxCpDepartDtoList
)
{
...
@@ -282,7 +282,7 @@ public class OrgSyncByWxcpJob {
...
@@ -282,7 +282,7 @@ public class OrgSyncByWxcpJob {
List
<
DepartmentEntity
>
deleteList
=
new
ArrayList
<>();
List
<
DepartmentEntity
>
deleteList
=
new
ArrayList
<>();
List
<
DepartmentEntity
>
updateList
=
new
ArrayList
<>();
List
<
DepartmentEntity
>
updateList
=
new
ArrayList
<>();
//获取 数据库 部门 信息
//获取 数据库 部门 信息
List
<
DepartmentEntity
>
departmentList
=
departmentService
.
findDepartmentByOrgId
All
(
orgId
);
List
<
DepartmentEntity
>
departmentList
=
departmentService
.
findDepartmentByOrgId
(
orgId
);
// 预处理 新数据
// 预处理 新数据
HashMap
<
String
,
WxCpDepartDto
>
hashMap
=
new
HashMap
<>();
HashMap
<
String
,
WxCpDepartDto
>
hashMap
=
new
HashMap
<>();
HashMap
<
Long
,
WxCpDepartDto
>
hashMap2
=
new
HashMap
<>();
HashMap
<
Long
,
WxCpDepartDto
>
hashMap2
=
new
HashMap
<>();
...
@@ -356,7 +356,7 @@ public class OrgSyncByWxcpJob {
...
@@ -356,7 +356,7 @@ public class OrgSyncByWxcpJob {
List
<
EmployeeEntity
>
deleteList
=
new
ArrayList
<>();
List
<
EmployeeEntity
>
deleteList
=
new
ArrayList
<>();
List
<
EmployeeEntity
>
updateList
=
new
ArrayList
<>();
List
<
EmployeeEntity
>
updateList
=
new
ArrayList
<>();
//获取 数据库 员工 信息
//获取 数据库 员工 信息
List
<
EmployeeEntity
>
employeeList
=
employeeService
.
getEmployeeSListByOrgId
All
(
orgId
);
List
<
EmployeeEntity
>
employeeList
=
employeeService
.
getEmployeeSListByOrgId
(
orgId
);
// 预处理 新数据
// 预处理 新数据
HashMap
<
String
,
WxCpUser
>
hashMap
=
new
HashMap
<>();
HashMap
<
String
,
WxCpUser
>
hashMap
=
new
HashMap
<>();
...
...
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