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
817c495d
Commit
817c495d
authored
Jun 24, 2021
by
gaodongdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改人员后台bug
parent
6f626c1c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
OrgPersonController.java
...s/boot/module/jcs/biz/controller/OrgPersonController.java
+5
-3
No files found.
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 @
817c495d
...
...
@@ -70,6 +70,7 @@ public class OrgPersonController {
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增人员信息"
,
notes
=
"新增人员信息"
)
public
ResponseModel
saveOrgUsr
(
HttpServletRequest
request
,
@RequestBody
OrgPersonVo
OrgPersonVo
)
{
OrgUsr
orgUsr
=
OrgPersonVo
.
getOrgUsr
();
orgUsr
.
setBizOrgType
(
CommonConstant
.
BIZ_ORG_TYPE_PERSON
);
// 单位新增情况
iOrgUsrService
.
save
(
orgUsr
);
// 动态表单
...
...
@@ -252,10 +253,11 @@ public class OrgPersonController {
* @return
*/
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"
download-template"
,
method
=
RequestMethod
.
POS
T
)
@ApiOperation
(
httpMethod
=
"
POS
T"
,
value
=
"导出人员模板"
,
notes
=
"导出人员模板"
)
public
ResponseModel
downloadTemplate
(
HttpServletResponse
response
,
@RequestBody
List
<
OrgUsrDownloadTemplateVO
>
OrgUsrDownloadTemplateVO
)
throws
UnsupportedEncodingException
{
@RequestMapping
(
value
=
"
/download-template"
,
method
=
RequestMethod
.
GE
T
)
@ApiOperation
(
httpMethod
=
"
GE
T"
,
value
=
"导出人员模板"
,
notes
=
"导出人员模板"
)
public
ResponseModel
downloadTemplate
(
HttpServletResponse
response
)
throws
UnsupportedEncodingException
{
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyyMMddhhmmss"
);
List
<
OrgUsrDownloadTemplateVO
>
OrgUsrDownloadTemplateVO
=
new
ArrayList
<>();
ExcelUtils
.
exportExcel
(
OrgUsrDownloadTemplateVO
,
"人员信息"
,
"人员信息"
,
OrgUsrDownloadTemplateVO
.
class
,
simpleDateFormat
.
format
(
new
Date
())
+
".xls"
,
response
);
return
ResponseHelper
.
buildResponse
(
null
);
}
...
...
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