Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
8809c1d5
Commit
8809c1d5
authored
Jun 23, 2021
by
gaodongdong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'gdd' into developer
parents
21088b65
68d55979
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
OrgPersonVo.java
.../com/yeejoin/amos/boot/module/jcs/api/vo/OrgPersonVo.java
+7
-7
OrgPersonController.java
...s/boot/module/jcs/biz/controller/OrgPersonController.java
+3
-3
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-jcs-api/src/main/java/com/yeejoin/amos/boot/module/jcs/api/vo/OrgPersonVo.java
View file @
8809c1d5
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jcs
.
api
.
vo
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
java.io.Serializable
;
import
java.util.List
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.AlertFormValue
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.OrgUsr
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.List
;
/**
* 机构/部门/人员表
*
...
...
@@ -18,21 +19,20 @@ import java.util.List;
*/
@Data
@Accessors
(
chain
=
true
)
@TableName
(
"cb_org_usr"
)
@ApiModel
(
value
=
"OrgUsrVo"
,
description
=
"人员"
)
public
class
OrgPersonVo
{
public
class
OrgPersonVo
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"人员基本信息"
)
private
OrgUsr
O
rgUsr
;
private
OrgUsr
o
rgUsr
;
@ApiModelProperty
(
value
=
"动态表单值"
)
private
List
<
AlertFormValue
>
alertFormValue
;
public
OrgPersonVo
(
OrgUsr
orgUsr
,
List
<
AlertFormValue
>
alertFormValue
)
{
O
rgUsr
=
orgUsr
;
this
.
o
rgUsr
=
orgUsr
;
this
.
alertFormValue
=
alertFormValue
;
}
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/OrgPersonController.java
View file @
8809c1d5
...
...
@@ -170,7 +170,7 @@ public class OrgPersonController {
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
public
IPage
<
OrgUsr
>
listPage
(
String
pageNum
,
String
pageSize
,
OrgUsr
orgUsr
)
{
public
ResponseModel
<
Object
>
listPage
(
String
pageNum
,
String
pageSize
,
OrgUsr
orgUsr
)
{
Page
<
OrgUsr
>
pageBean
;
QueryWrapper
<
OrgUsr
>
orgUsrQueryWrapper
=
new
QueryWrapper
<>();
...
...
@@ -206,7 +206,7 @@ public class OrgPersonController {
pageBean
=
new
Page
<>(
Integer
.
parseInt
(
pageNum
),
Integer
.
parseInt
(
pageSize
));
}
page
=
iOrgUsrService
.
page
(
pageBean
,
orgUsrQueryWrapper
);
return
page
;
return
ResponseHelper
.
buildResponse
(
page
)
;
}
/**
...
...
@@ -235,7 +235,7 @@ public class OrgPersonController {
* @return
*/
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"download-template
/{type}
"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"download-template"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"导出人员模板"
,
notes
=
"导出人员模板"
)
public
ResponseModel
downloadTemplate
(
HttpServletResponse
response
,
@RequestBody
List
<
OrgUsrDownloadTemplateVO
>
OrgUsrDownloadTemplateVO
)
throws
UnsupportedEncodingException
{
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyyMMddhhmmss"
);
...
...
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