Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
5c240733
Commit
5c240733
authored
May 07, 2022
by
龙于生
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改新增人事表格
parent
0dd69d94
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
src/main/java/cn/timer/api/controller/yggl/YgglController.java
+4
-1
No files found.
src/main/java/cn/timer/api/controller/yggl/YgglController.java
View file @
5c240733
...
@@ -2145,7 +2145,10 @@ public class YgglController {
...
@@ -2145,7 +2145,10 @@ public class YgglController {
@ApiOperation
(
value
=
"人事--新增人事表格文件"
,
httpMethod
=
"POST"
,
notes
=
"接口发布说明"
)
@ApiOperation
(
value
=
"人事--新增人事表格文件"
,
httpMethod
=
"POST"
,
notes
=
"接口发布说明"
)
public
Result
<
Object
>
addPersonnelForm
(
@CurrentUser
UserBean
userBean
,
@RequestBody
PersonnelFormDto
personnelFormDto
)
{
public
Result
<
Object
>
addPersonnelForm
(
@CurrentUser
UserBean
userBean
,
@RequestBody
PersonnelFormDto
personnelFormDto
)
{
try
{
try
{
YgglPersonnelForm
.
builder
().
fileName
(
personnelFormDto
.
getFileName
()).
fileUrl
(
personnelFormDto
.
getFileUrl
()).
type
(
personnelFormDto
.
getType
()).
build
().
insert
();
YgglPersonnelForm
.
builder
().
fileName
(
personnelFormDto
.
getFileName
())
.
fileUrl
(
personnelFormDto
.
getFileUrl
())
.
orgCode
(
userBean
.
getOrgCode
())
.
type
(
personnelFormDto
.
getType
()).
build
().
insert
();
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
return
ResultUtil
.
error
();
return
ResultUtil
.
error
();
...
...
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