Commit ca10ff2c authored by hongguangwu's avatar hongguangwu

MVP1.4-salary代发户2次上传代码

parent ab54def0
......@@ -67,7 +67,7 @@ public class TSalaryStandardIssueController {
*/
@Operation(summary = "不分页查询", description = "不分页查询")
@PostMapping("/noPage" )
//@PreAuthorize("@pms.hasPermission('demo_tsalarystandardissue_get')" )
//@PreAuthorize("@pms.hasPermission('tsalarystandardissue_get')" )
public R<List<TSalaryStandardIssue>> getTSalaryStandardIssueNoPage(@RequestBody TSalaryStandardIssueSearchVo tSalaryStandardIssue) {
return R.ok(tSalaryStandardIssueService.noPageDiy(tSalaryStandardIssue));
}
......@@ -77,9 +77,9 @@ public class TSalaryStandardIssueController {
* @param id id
* @return R
*/
@Operation(summary = "通过id查询", description = "通过id查询:hasPermission('demo_tsalarystandardissue_get')")
@Operation(summary = "通过id查询", description = "通过id查询:hasPermission('tsalarystandardissue_get')")
@GetMapping("/{id}" )
@PreAuthorize("@pms.hasPermission('demo_tsalarystandardissue_get')" )
@PreAuthorize("@pms.hasPermission('tsalarystandardissue_get')" )
public R<TSalaryStandardIssue> getById(@PathVariable("id" ) String id) {
return R.ok(tSalaryStandardIssueService.getById(id));
}
......@@ -89,10 +89,10 @@ public class TSalaryStandardIssueController {
* @param tSalaryStandardIssue 薪资代发户配置
* @return R
*/
@Operation(summary = "新增薪资代发户配置", description = "新增薪资代发户配置:hasPermission('demo_tsalarystandardissue_add')")
@Operation(summary = "新增薪资代发户配置", description = "新增薪资代发户配置:hasPermission('tsalarystandardissue_add')")
@SysLog("新增薪资代发户配置" )
@PostMapping
@PreAuthorize("@pms.hasPermission('demo_tsalarystandardissue_add')" )
@PreAuthorize("@pms.hasPermission('tsalarystandardissue_add')" )
public R<Boolean> save(@RequestBody TSalaryStandardIssue tSalaryStandardIssue) {
return R.ok(tSalaryStandardIssueService.save(tSalaryStandardIssue));
}
......@@ -102,10 +102,10 @@ public class TSalaryStandardIssueController {
* @param tSalaryStandardIssue 薪资代发户配置
* @return R
*/
@Operation(summary = "修改薪资代发户配置", description = "修改薪资代发户配置:hasPermission('demo_tsalarystandardissue_edit')")
@Operation(summary = "修改薪资代发户配置", description = "修改薪资代发户配置:hasPermission('tsalarystandardissue_edit')")
@SysLog("修改薪资代发户配置" )
@PutMapping
@PreAuthorize("@pms.hasPermission('demo_tsalarystandardissue_edit')" )
@PreAuthorize("@pms.hasPermission('tsalarystandardissue_edit')" )
public R<Boolean> updateById(@RequestBody TSalaryStandardIssue tSalaryStandardIssue) {
return R.ok(tSalaryStandardIssueService.updateById(tSalaryStandardIssue));
}
......@@ -115,10 +115,10 @@ public class TSalaryStandardIssueController {
* @param id id
* @return R
*/
@Operation(summary = "通过id删除薪资代发户配置", description = "通过id删除薪资代发户配置:hasPermission('demo_tsalarystandardissue_del')")
@Operation(summary = "通过id删除薪资代发户配置", description = "通过id删除薪资代发户配置:hasPermission('tsalarystandardissue_del')")
@SysLog("通过id删除薪资代发户配置" )
@DeleteMapping("/{id}" )
@PreAuthorize("@pms.hasPermission('demo_tsalarystandardissue_del')" )
@PreAuthorize("@pms.hasPermission('tsalarystandardissue_del')" )
public R<Boolean> removeById(@PathVariable String id) {
return R.ok(tSalaryStandardIssueService.removeById(id));
}
......@@ -128,9 +128,9 @@ public class TSalaryStandardIssueController {
* @author hgw
* @date 2023-01-10 11:34:27
**/
@Operation(description = "导出薪资代发户配置 hasPermission('demo_tsalarystandardissue-export')")
@Operation(description = "导出薪资代发户配置 hasPermission('tsalarystandardissue-export')")
@PostMapping("/export")
@PreAuthorize("@pms.hasPermission('demo_tsalarystandardissue-export')")
@PreAuthorize("@pms.hasPermission('tsalarystandardissue-export')")
public void export(HttpServletResponse response, @RequestBody TSalaryStandardIssueSearchVo searchVo) {
tSalaryStandardIssueService.listExport(response,searchVo);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment