From b6dd47b05107fc36d8ff4f7f29a4446521f95503 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期四, 02 一月 2025 18:44:28 +0800 Subject: [PATCH] 代码提交 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementSharedController.java | 36 ++++++++++++++++++------------------ 1 files changed, 18 insertions(+), 18 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementSharedController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementSharedController.java index 9a629fc..bb21024 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementSharedController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementSharedController.java @@ -36,7 +36,7 @@ * 鏌ヨ鎶ラ攢鐢宠鍒楄〃 */ @ApiOperation("鏌ヨ鎶ラ攢鐢宠鍒楄〃") - //@PreAuthorize("@ss.hasPermi('system:shared:list')") + //// @PreAuthorize("@ss.hasPermi('system:shared:list')") @GetMapping("/list") public TableDataInfo list(ServiceReimbursementShared serviceReimbursementShared) { @@ -49,7 +49,7 @@ * 瀵煎嚭鎶ラ攢鐢宠鍒楄〃 */ @ApiOperation("瀵煎嚭鎶ラ攢鐢宠鍒楄〃") - //@PreAuthorize("@ss.hasPermi('system:shared:export')") + //// @PreAuthorize("@ss.hasPermi('system:shared:export')") @Log(title = "鎶ラ攢鐢宠", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceReimbursementShared serviceReimbursementShared) @@ -63,34 +63,34 @@ * 鑾峰彇鎶ラ攢鐢宠璇︾粏淇℃伅 */ @ApiOperation("鑾峰彇鎶ラ攢鐢宠璇︾粏淇℃伅") - //@PreAuthorize("@ss.hasPermi('system:shared:query')") + //// @PreAuthorize("@ss.hasPermi('system:shared:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceReimbursementSharedService.getById(id)); } - /** - * 鏂板鎶ラ攢鐢宠 - */ - @ApiOperation("鏂板鎶ラ攢鐢宠") - //@PreAuthorize("@ss.hasPermi('system:shared:add')") - @Log(title = "鎶ラ攢鐢宠", businessType = BusinessType.INSERT) - @PostMapping - @RepeatSubmit - public AjaxResult add(@RequestBody ServiceReimbursementShared serviceReimbursementShared) - { - return toAjax(serviceReimbursementSharedService.save(serviceReimbursementShared)); - } +// /** +// * 鏂板鎶ラ攢鐢宠 +// */ +// @ApiOperation("鏂板鎶ラ攢鐢宠") +// //// @PreAuthorize("@ss.hasPermi('system:shared:add')") +// @Log(title = "鎶ラ攢鐢宠", businessType = BusinessType.INSERT) +// @PostMapping +// @RepeatSubmit +// public AjaxResult add(@RequestBody ServiceReimbursementShared serviceReimbursementShared) +// { +// return toAjax(serviceReimbursementSharedService.save(serviceReimbursementShared)); +// } /** * 淇敼鎶ラ攢鐢宠 */ @ApiOperation("淇敼鎶ラ攢鐢宠") - //@PreAuthorize("@ss.hasPermi('system:shared:edit')") + //// @PreAuthorize("@ss.hasPermi('system:shared:edit')") @Log(title = "鎶ラ攢鐢宠", businessType = BusinessType.UPDATE) @PutMapping - @RepeatSubmit + @RepeatSubmit public AjaxResult edit(@RequestBody ServiceReimbursementShared serviceReimbursementShared) { return toAjax(serviceReimbursementSharedService.updateById(serviceReimbursementShared)); @@ -100,7 +100,7 @@ * 鍒犻櫎鎶ラ攢鐢宠 */ @ApiOperation("鍒犻櫎鎶ラ攢鐢宠") - @PreAuthorize("@ss.hasPermi('system:shared:remove')") + // @PreAuthorize("@ss.hasPermi('system:shared:remove')") @Log(title = "鎶ラ攢鐢宠", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable Long[] ids) -- Gitblit v1.9.3