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
8a7abb3b
Commit
8a7abb3b
authored
Mar 03, 2020
by
qwmqiuwenmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b8bbd9e3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
2 deletions
+18
-2
StaffApiService.java
...va/com/gic/haoban/manage/api/service/StaffApiService.java
+2
-0
StaffApiServiceImpl.java
.../manage/service/service/out/impl/StaffApiServiceImpl.java
+7
-1
DepartmentContoller.java
...gic/haoban/manage/web/controller/DepartmentContoller.java
+9
-1
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/StaffApiService.java
View file @
8a7abb3b
...
...
@@ -39,4 +39,6 @@ public interface StaffApiService {
public
int
countByDepartmentId
(
String
departmentId
);
public
void
syncGicClerk
(
String
fieldListString
);
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffApiServiceImpl.java
View file @
8a7abb3b
...
...
@@ -150,7 +150,7 @@ public class StaffApiServiceImpl implements StaffApiService {
hr
.
setMessage
(
"微信端新增失败"
);
}
hr
.
setResult
(
staffId
);
return
hr
;
}
...
...
@@ -412,4 +412,10 @@ public class StaffApiServiceImpl implements StaffApiService {
return
EntityUtil
.
changeEntityByJSON
(
StaffDTO
.
class
,
tab
);
}
@Override
public
void
syncGicClerk
(
String
fieldListString
)
{
// TODO Auto-generated method stub
}
}
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/DepartmentContoller.java
View file @
8a7abb3b
...
...
@@ -536,7 +536,15 @@ public class DepartmentContoller extends WebBaseController{
staff
.
setPhoneNumber
(
phoneNumber
);
staff
.
setSex
(
clerkListDTO
.
getClerkGender
()
==
null
?
null
:
Integer
.
parseInt
(
clerkListDTO
.
getClerkGender
()));
staff
.
setSyncPostionFlag
(
1
);
staffApiService
.
add
(
staff
,
departmentId
);
HaobanResponse
hr
=
staffApiService
.
add
(
staff
,
departmentId
);
if
(
hr
.
getErrorCode
()
==
1
){
StaffDepartmentRelatedDTO
staffRelated
=
staffApiService
.
getDepartmentIdAndStaffId
(
departmentId
,
hr
.
getResult
().
toString
());
if
(
staffRelated
!=
null
){
staffRelated
.
setClerkCode
(
clerkCode
);
staffDepartmentRelatedApiService
.
updateById
(
staffRelated
);
}
}
}
else
{
String
staffId
=
staff
.
getStaffId
();
List
<
StaffDepartmentRelatedDTO
>
relatedList
=
staffApiService
.
listStaffDepartmentByStaffId
(
staffId
);
...
...
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