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
1
Merge Requests
1
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
b45de361
Commit
b45de361
authored
Feb 26, 2020
by
qwmqiuwenmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2216275a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletions
+12
-1
DepartmentContoller.java
...gic/haoban/manage/web/controller/DepartmentContoller.java
+2
-1
DepartmentAddQO.java
...in/java/com/gic/haoban/manage/web/qo/DepartmentAddQO.java
+10
-0
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/DepartmentContoller.java
View file @
b45de361
...
...
@@ -361,8 +361,9 @@ public class DepartmentContoller extends WebBaseController{
continue
;
}
String
departmentId
=
departmentAddQO
.
getDepartmentId
();
Boolean
addFlag
=
departmentAddQO
.
getAddFlag
();
//在部门下新增部门
if
(
StringUtils
.
isBlank
(
departmentId
)
)
{
if
(
addFlag
)
{
DepartmentDTO
department
=
new
DepartmentDTO
();
department
.
setParentDepartmentId
(
parentId
);
department
.
setWxEnterpriseId
(
dto
.
getWxEnterpriseId
());
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/qo/DepartmentAddQO.java
View file @
b45de361
...
...
@@ -17,6 +17,8 @@ public class DepartmentAddQO implements Serializable {
private
Integer
storeFlag
;
private
String
relatedId
;
private
Boolean
addFlag
;
public
String
getDepartmentName
()
{
return
departmentName
;
...
...
@@ -73,6 +75,14 @@ public class DepartmentAddQO implements Serializable {
public
void
setParentDepartmentId
(
String
parentDepartmentId
)
{
this
.
parentDepartmentId
=
parentDepartmentId
;
}
public
Boolean
getAddFlag
()
{
return
addFlag
;
}
public
void
setAddFlag
(
Boolean
addFlag
)
{
this
.
addFlag
=
addFlag
;
}
...
...
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