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
75b830db
Commit
75b830db
authored
Mar 20, 2020
by
qwmqiuwenmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
019a04bf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
143 additions
and
2 deletions
+143
-2
DepartmentContoller.java
...gic/haoban/manage/web/controller/DepartmentContoller.java
+3
-2
DepartmentVO.java
.../main/java/com/gic/haoban/manage/web/vo/DepartmentVO.java
+140
-0
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/DepartmentContoller.java
View file @
75b830db
...
...
@@ -43,6 +43,7 @@ import com.gic.haoban.manage.web.errCode.HaoBanErrCode;
import
com.gic.haoban.manage.web.qo.DepartmentAddQO
;
import
com.gic.haoban.manage.web.qo.DepartmentEditQO
;
import
com.gic.haoban.manage.web.thread.SyncDepartmentThread
;
import
com.gic.haoban.manage.web.vo.DepartmentVO
;
import
com.gic.haoban.manage.web.vo.LoginVO
;
import
com.gic.haoban.manage.web.vo.StoreVo
;
import
com.gic.redis.data.util.RedisUtil
;
...
...
@@ -149,7 +150,7 @@ public class DepartmentContoller extends WebBaseController{
departmentDTO
.
setHasSonNode
(
departmentApiService
.
hasSonNode
(
departmentDTO
.
getDepartmentId
()));
}
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
list
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
,
EntityUtil
.
changeEntityListByJSON
(
DepartmentVO
.
class
,
list
)
);
}
...
...
@@ -512,7 +513,7 @@ public class DepartmentContoller extends WebBaseController{
}
}
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
dtoList
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
EntityUtil
.
changeEntityListByJSON
(
DepartmentVO
.
class
,
dtoList
)
);
}
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/vo/DepartmentVO.java
0 → 100644
View file @
75b830db
package
com
.
gic
.
haoban
.
manage
.
web
.
vo
;
import
java.io.Serializable
;
import
java.util.Date
;
public
class
DepartmentVO
implements
Serializable
{
private
String
departmentId
;
private
String
departmentName
;
private
String
parentDepartmentId
;
private
String
relatedId
;
private
Integer
isStore
;
private
String
wxDepartmentId
;
private
Integer
level
;
private
Integer
sort
;
private
String
wxEnterpriseId
;
private
Integer
type
;
private
Integer
bindFlag
;
private
String
gicEnterpriseName
;
private
Boolean
hasSonNode
;
public
String
getDepartmentId
()
{
return
departmentId
;
}
public
void
setDepartmentId
(
String
departmentId
)
{
this
.
departmentId
=
departmentId
;
}
public
String
getDepartmentName
()
{
return
departmentName
;
}
public
void
setDepartmentName
(
String
departmentName
)
{
this
.
departmentName
=
departmentName
;
}
public
String
getParentDepartmentId
()
{
return
parentDepartmentId
;
}
public
void
setParentDepartmentId
(
String
parentDepartmentId
)
{
this
.
parentDepartmentId
=
parentDepartmentId
;
}
public
String
getRelatedId
()
{
return
relatedId
;
}
public
void
setRelatedId
(
String
relatedId
)
{
this
.
relatedId
=
relatedId
;
}
public
Integer
getIsStore
()
{
return
isStore
;
}
public
void
setIsStore
(
Integer
isStore
)
{
this
.
isStore
=
isStore
;
}
public
String
getWxDepartmentId
()
{
return
wxDepartmentId
;
}
public
void
setWxDepartmentId
(
String
wxDepartmentId
)
{
this
.
wxDepartmentId
=
wxDepartmentId
;
}
public
Integer
getLevel
()
{
return
level
;
}
public
void
setLevel
(
Integer
level
)
{
this
.
level
=
level
;
}
public
Integer
getSort
()
{
return
sort
;
}
public
void
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
}
public
String
getWxEnterpriseId
()
{
return
wxEnterpriseId
;
}
public
void
setWxEnterpriseId
(
String
wxEnterpriseId
)
{
this
.
wxEnterpriseId
=
wxEnterpriseId
;
}
public
Integer
getType
()
{
return
type
;
}
public
void
setType
(
Integer
type
)
{
this
.
type
=
type
;
}
public
Integer
getBindFlag
()
{
return
bindFlag
;
}
public
void
setBindFlag
(
Integer
bindFlag
)
{
this
.
bindFlag
=
bindFlag
;
}
public
String
getGicEnterpriseName
()
{
return
gicEnterpriseName
;
}
public
void
setGicEnterpriseName
(
String
gicEnterpriseName
)
{
this
.
gicEnterpriseName
=
gicEnterpriseName
;
}
public
Boolean
getHasSonNode
()
{
return
hasSonNode
;
}
public
void
setHasSonNode
(
Boolean
hasSonNode
)
{
this
.
hasSonNode
=
hasSonNode
;
}
}
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