Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
ca10ff2c
Commit
ca10ff2c
authored
Jan 13, 2023
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.4-salary代发户2次上传代码
parent
ab54def0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
TSalaryStandardIssueController.java
...ifu/salary/controller/TSalaryStandardIssueController.java
+11
-11
No files found.
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/controller/TSalaryStandardIssueController.java
View file @
ca10ff2c
...
@@ -67,7 +67,7 @@ public class TSalaryStandardIssueController {
...
@@ -67,7 +67,7 @@ public class TSalaryStandardIssueController {
*/
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
@PostMapping
(
"/noPage"
)
//@PreAuthorize("@pms.hasPermission('
demo_
tsalarystandardissue_get')" )
//@PreAuthorize("@pms.hasPermission('tsalarystandardissue_get')" )
public
R
<
List
<
TSalaryStandardIssue
>>
getTSalaryStandardIssueNoPage
(
@RequestBody
TSalaryStandardIssueSearchVo
tSalaryStandardIssue
)
{
public
R
<
List
<
TSalaryStandardIssue
>>
getTSalaryStandardIssueNoPage
(
@RequestBody
TSalaryStandardIssueSearchVo
tSalaryStandardIssue
)
{
return
R
.
ok
(
tSalaryStandardIssueService
.
noPageDiy
(
tSalaryStandardIssue
));
return
R
.
ok
(
tSalaryStandardIssueService
.
noPageDiy
(
tSalaryStandardIssue
));
}
}
...
@@ -77,9 +77,9 @@ public class TSalaryStandardIssueController {
...
@@ -77,9 +77,9 @@ public class TSalaryStandardIssueController {
* @param id id
* @param id id
* @return R
* @return R
*/
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('
demo_
tsalarystandardissue_get')"
)
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('tsalarystandardissue_get')"
)
@GetMapping
(
"/{id}"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('
demo_
tsalarystandardissue_get')"
)
@PreAuthorize
(
"@pms.hasPermission('tsalarystandardissue_get')"
)
public
R
<
TSalaryStandardIssue
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
public
R
<
TSalaryStandardIssue
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
tSalaryStandardIssueService
.
getById
(
id
));
return
R
.
ok
(
tSalaryStandardIssueService
.
getById
(
id
));
}
}
...
@@ -89,10 +89,10 @@ public class TSalaryStandardIssueController {
...
@@ -89,10 +89,10 @@ public class TSalaryStandardIssueController {
* @param tSalaryStandardIssue 薪资代发户配置
* @param tSalaryStandardIssue 薪资代发户配置
* @return R
* @return R
*/
*/
@Operation
(
summary
=
"新增薪资代发户配置"
,
description
=
"新增薪资代发户配置:hasPermission('
demo_
tsalarystandardissue_add')"
)
@Operation
(
summary
=
"新增薪资代发户配置"
,
description
=
"新增薪资代发户配置:hasPermission('tsalarystandardissue_add')"
)
@SysLog
(
"新增薪资代发户配置"
)
@SysLog
(
"新增薪资代发户配置"
)
@PostMapping
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('
demo_
tsalarystandardissue_add')"
)
@PreAuthorize
(
"@pms.hasPermission('tsalarystandardissue_add')"
)
public
R
<
Boolean
>
save
(
@RequestBody
TSalaryStandardIssue
tSalaryStandardIssue
)
{
public
R
<
Boolean
>
save
(
@RequestBody
TSalaryStandardIssue
tSalaryStandardIssue
)
{
return
R
.
ok
(
tSalaryStandardIssueService
.
save
(
tSalaryStandardIssue
));
return
R
.
ok
(
tSalaryStandardIssueService
.
save
(
tSalaryStandardIssue
));
}
}
...
@@ -102,10 +102,10 @@ public class TSalaryStandardIssueController {
...
@@ -102,10 +102,10 @@ public class TSalaryStandardIssueController {
* @param tSalaryStandardIssue 薪资代发户配置
* @param tSalaryStandardIssue 薪资代发户配置
* @return R
* @return R
*/
*/
@Operation
(
summary
=
"修改薪资代发户配置"
,
description
=
"修改薪资代发户配置:hasPermission('
demo_
tsalarystandardissue_edit')"
)
@Operation
(
summary
=
"修改薪资代发户配置"
,
description
=
"修改薪资代发户配置:hasPermission('tsalarystandardissue_edit')"
)
@SysLog
(
"修改薪资代发户配置"
)
@SysLog
(
"修改薪资代发户配置"
)
@PutMapping
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('
demo_
tsalarystandardissue_edit')"
)
@PreAuthorize
(
"@pms.hasPermission('tsalarystandardissue_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
TSalaryStandardIssue
tSalaryStandardIssue
)
{
public
R
<
Boolean
>
updateById
(
@RequestBody
TSalaryStandardIssue
tSalaryStandardIssue
)
{
return
R
.
ok
(
tSalaryStandardIssueService
.
updateById
(
tSalaryStandardIssue
));
return
R
.
ok
(
tSalaryStandardIssueService
.
updateById
(
tSalaryStandardIssue
));
}
}
...
@@ -115,10 +115,10 @@ public class TSalaryStandardIssueController {
...
@@ -115,10 +115,10 @@ public class TSalaryStandardIssueController {
* @param id id
* @param id id
* @return R
* @return R
*/
*/
@Operation
(
summary
=
"通过id删除薪资代发户配置"
,
description
=
"通过id删除薪资代发户配置:hasPermission('
demo_
tsalarystandardissue_del')"
)
@Operation
(
summary
=
"通过id删除薪资代发户配置"
,
description
=
"通过id删除薪资代发户配置:hasPermission('tsalarystandardissue_del')"
)
@SysLog
(
"通过id删除薪资代发户配置"
)
@SysLog
(
"通过id删除薪资代发户配置"
)
@DeleteMapping
(
"/{id}"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('
demo_
tsalarystandardissue_del')"
)
@PreAuthorize
(
"@pms.hasPermission('tsalarystandardissue_del')"
)
public
R
<
Boolean
>
removeById
(
@PathVariable
String
id
)
{
public
R
<
Boolean
>
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
tSalaryStandardIssueService
.
removeById
(
id
));
return
R
.
ok
(
tSalaryStandardIssueService
.
removeById
(
id
));
}
}
...
@@ -128,9 +128,9 @@ public class TSalaryStandardIssueController {
...
@@ -128,9 +128,9 @@ public class TSalaryStandardIssueController {
* @author hgw
* @author hgw
* @date 2023-01-10 11:34:27
* @date 2023-01-10 11:34:27
**/
**/
@Operation
(
description
=
"导出薪资代发户配置 hasPermission('
demo_
tsalarystandardissue-export')"
)
@Operation
(
description
=
"导出薪资代发户配置 hasPermission('tsalarystandardissue-export')"
)
@PostMapping
(
"/export"
)
@PostMapping
(
"/export"
)
@PreAuthorize
(
"@pms.hasPermission('
demo_
tsalarystandardissue-export')"
)
@PreAuthorize
(
"@pms.hasPermission('tsalarystandardissue-export')"
)
public
void
export
(
HttpServletResponse
response
,
@RequestBody
TSalaryStandardIssueSearchVo
searchVo
)
{
public
void
export
(
HttpServletResponse
response
,
@RequestBody
TSalaryStandardIssueSearchVo
searchVo
)
{
tSalaryStandardIssueService
.
listExport
(
response
,
searchVo
);
tSalaryStandardIssueService
.
listExport
(
response
,
searchVo
);
}
}
...
...
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