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
0eda2bed
Commit
0eda2bed
authored
Feb 26, 2020
by
huangZW
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://115.159.76.241/haoban3.0/haoban-manage3.0.git
into developer
parents
5ed67032
dcc7df51
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
DepartmentContoller.java
...gic/haoban/manage/web/controller/DepartmentContoller.java
+4
-4
DepartmentAddQO.java
...in/java/com/gic/haoban/manage/web/qo/DepartmentAddQO.java
+6
-5
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/DepartmentContoller.java
View file @
0eda2bed
...
...
@@ -216,7 +216,7 @@ public class DepartmentContoller extends WebBaseController{
DepartmentDTO
departmentAdd
=
(
DepartmentDTO
)
hr
.
getResult
();
String
departmentId
=
departmentAdd
.
getDepartmentId
();
String
sonDepartment
=
departmentAddQO
.
get
SonDepartment
();
String
sonDepartment
=
departmentAddQO
.
get
Children
();
handler
(
sonDepartment
,
departmentId
);
}
}
...
...
@@ -362,14 +362,14 @@ public class DepartmentContoller extends WebBaseController{
String
departmentId
=
departmentAddQO
.
getDepartmentId
();
Boolean
addFlag
=
departmentAddQO
.
getAddFlag
();
//在部门下新增部门
if
(
addFlag
)
{
if
(
addFlag
==
null
||
addFlag
)
{
DepartmentDTO
department
=
new
DepartmentDTO
();
department
.
setParentDepartmentId
(
parentId
);
department
.
setWxEnterpriseId
(
dto
.
getWxEnterpriseId
());
department
.
setDepartmentName
(
departmentAddQO
.
getDepartmentName
());
department
.
setChainId
(
dto
.
getChainId
()
+
Constant
.
ID_SEPARATOR
+
dto
.
getDepartmentId
());
department
.
setChainName
(
dto
.
getChainName
()
+
Constant
.
NAME_SEPARATOR
+
dto
.
getDepartmentName
());
department
.
set
IsStore
(
0
);
department
.
set
Sort
(
departmentAddQO
.
getSort
()
);
department
.
setIsStore
(
departmentAddQO
.
getStoreFlag
());
department
.
setLevel
(
dto
.
getLevel
()
+
1
);
department
.
setRelatedId
(
departmentAddQO
.
getRelatedId
());
...
...
@@ -398,7 +398,7 @@ public class DepartmentContoller extends WebBaseController{
sonParentId
=
departmentEdit
.
getDepartmentId
();
}
sonDepartment
=
departmentAddQO
.
get
SonDepartment
();
sonDepartment
=
departmentAddQO
.
get
Children
();
handler
(
sonDepartment
,
sonParentId
);
}
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/qo/DepartmentAddQO.java
View file @
0eda2bed
...
...
@@ -12,7 +12,7 @@ public class DepartmentAddQO implements Serializable {
private
String
parentDepartmentId
;
private
String
sonDepartment
;
private
String
children
;
private
Integer
storeFlag
;
...
...
@@ -38,12 +38,13 @@ public class DepartmentAddQO implements Serializable {
this
.
parentId
=
parentId
;
}
public
String
getSonDepartment
()
{
return
sonDepartment
;
public
String
getChildren
()
{
return
children
;
}
public
void
set
SonDepartment
(
String
sonDepartment
)
{
this
.
sonDepartment
=
sonDepartment
;
public
void
set
Children
(
String
children
)
{
this
.
children
=
children
;
}
public
String
getDepartmentId
()
{
...
...
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