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
68d55979
Commit
68d55979
authored
Jun 23, 2021
by
gaodongdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口调试
parent
21088b65
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 @
68d55979
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jcs
.
api
.
vo
;
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.AlertFormValue
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.OrgUsr
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.OrgUsr
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
lombok.experimental.Accessors
;
import
java.util.List
;
/**
/**
* 机构/部门/人员表
* 机构/部门/人员表
*
*
...
@@ -18,21 +19,20 @@ import java.util.List;
...
@@ -18,21 +19,20 @@ import java.util.List;
*/
*/
@Data
@Data
@Accessors
(
chain
=
true
)
@Accessors
(
chain
=
true
)
@TableName
(
"cb_org_usr"
)
@ApiModel
(
value
=
"OrgUsrVo"
,
description
=
"人员"
)
@ApiModel
(
value
=
"OrgUsrVo"
,
description
=
"人员"
)
public
class
OrgPersonVo
{
public
class
OrgPersonVo
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"人员基本信息"
)
@ApiModelProperty
(
value
=
"人员基本信息"
)
private
OrgUsr
O
rgUsr
;
private
OrgUsr
o
rgUsr
;
@ApiModelProperty
(
value
=
"动态表单值"
)
@ApiModelProperty
(
value
=
"动态表单值"
)
private
List
<
AlertFormValue
>
alertFormValue
;
private
List
<
AlertFormValue
>
alertFormValue
;
public
OrgPersonVo
(
OrgUsr
orgUsr
,
List
<
AlertFormValue
>
alertFormValue
)
{
public
OrgPersonVo
(
OrgUsr
orgUsr
,
List
<
AlertFormValue
>
alertFormValue
)
{
O
rgUsr
=
orgUsr
;
this
.
o
rgUsr
=
orgUsr
;
this
.
alertFormValue
=
alertFormValue
;
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 @
68d55979
...
@@ -170,7 +170,7 @@ public class OrgPersonController {
...
@@ -170,7 +170,7 @@ public class OrgPersonController {
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
@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
;
Page
<
OrgUsr
>
pageBean
;
QueryWrapper
<
OrgUsr
>
orgUsrQueryWrapper
=
new
QueryWrapper
<>();
QueryWrapper
<
OrgUsr
>
orgUsrQueryWrapper
=
new
QueryWrapper
<>();
...
@@ -206,7 +206,7 @@ public class OrgPersonController {
...
@@ -206,7 +206,7 @@ public class OrgPersonController {
pageBean
=
new
Page
<>(
Integer
.
parseInt
(
pageNum
),
Integer
.
parseInt
(
pageSize
));
pageBean
=
new
Page
<>(
Integer
.
parseInt
(
pageNum
),
Integer
.
parseInt
(
pageSize
));
}
}
page
=
iOrgUsrService
.
page
(
pageBean
,
orgUsrQueryWrapper
);
page
=
iOrgUsrService
.
page
(
pageBean
,
orgUsrQueryWrapper
);
return
page
;
return
ResponseHelper
.
buildResponse
(
page
)
;
}
}
/**
/**
...
@@ -235,7 +235,7 @@ public class OrgPersonController {
...
@@ -235,7 +235,7 @@ public class OrgPersonController {
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@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
=
"导出人员模板"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"导出人员模板"
,
notes
=
"导出人员模板"
)
public
ResponseModel
downloadTemplate
(
HttpServletResponse
response
,
@RequestBody
List
<
OrgUsrDownloadTemplateVO
>
OrgUsrDownloadTemplateVO
)
throws
UnsupportedEncodingException
{
public
ResponseModel
downloadTemplate
(
HttpServletResponse
response
,
@RequestBody
List
<
OrgUsrDownloadTemplateVO
>
OrgUsrDownloadTemplateVO
)
throws
UnsupportedEncodingException
{
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyyMMddhhmmss"
);
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