From 63ebc0007e9958bd6680c6841a7460b053275790 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期一, 22 四月 2024 14:20:15 +0800 Subject: [PATCH] 将 @PreAuthorize 全部注释 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundtaxController.java | 2 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementController.java | 14 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementSharedController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/CacheController.java | 2 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BasePrcaddressDictController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/VExpertfeeExpertController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateorganController.java | 16 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceExternalpersonController.java | 12 ruoyi-generator/src/main/java/com/ruoyi/generator/controller/GenController.java | 26 +- ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysUserOnlineController.java | 4 ruoyi-generator/src/main/resources/vm/java/controller.java.vm | 16 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceOrganallocationController.java | 14 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/VExpertfeeTotalController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonationwitnessorganController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateannexrequirementController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementpayeeSharedController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateflowchartController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceRelativesconfirmationController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseOrganchargeController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysConfigController.java | 14 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatecomporganController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFunddetailSharedController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatefollowupController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysStudentController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/VServiceDonateorganRegisterController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseFinancesubjectController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementdetailController.java | 14 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundSharedController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseAnnextypeController.java | 12 ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobLogController.java | 10 ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysClassController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseOrganizationController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceEthicalreviewopinionsController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementpayeeController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatecompletioninfoController.java | 16 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonationwitnessController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceExternalpersonGroupController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateorganstaticsController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDictDataController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonorpaymentController.java | 7 ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserController.java | 22 ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/ServerController.java | 2 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFunddetailController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementdetailSharedController.java | 12 ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobController.java | 16 ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysMenuController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonorchargeController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonorchargeorganController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysGradeController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysRoleController.java | 28 +- ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDictTypeController.java | 14 ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysPostController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseTravelcityController.java | 14 ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysOperlogController.java | 8 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatebaseinfoController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceMedicalevaluationController.java | 12 ruoyi-admin/src/main/java/com/ruoyi/web/controller/tool/SwaggerController.java | 2 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateannexController.java | 14 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceSystemmessageController.java | 6 ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysLogininforController.java | 8 ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysNoticeController.java | 10 63 files changed, 375 insertions(+), 380 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/CacheController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/CacheController.java index 7b97de2..c8053b1 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/CacheController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/CacheController.java @@ -27,7 +27,7 @@ @Autowired private RedisTemplate<String, String> redisTemplate; - @PreAuthorize("@ss.hasPermi('monitor:cache:list')") + // @PreAuthorize("@ss.hasPermi('monitor:cache:list')") @GetMapping() public AjaxResult getInfo() throws Exception { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/ServerController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/ServerController.java index cc805ad..7b46af5 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/ServerController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/ServerController.java @@ -16,7 +16,7 @@ @RequestMapping("/monitor/server") public class ServerController { - @PreAuthorize("@ss.hasPermi('monitor:server:list')") + // @PreAuthorize("@ss.hasPermi('monitor:server:list')") @GetMapping() public AjaxResult getInfo() throws Exception { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysLogininforController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysLogininforController.java index ed7f455..c0d0e14 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysLogininforController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysLogininforController.java @@ -29,7 +29,7 @@ @Autowired private ISysLogininforService logininforService; - @PreAuthorize("@ss.hasPermi('monitor:logininfor:list')") + // @PreAuthorize("@ss.hasPermi('monitor:logininfor:list')") @GetMapping("/list") public TableDataInfo list(SysLogininfor logininfor) { @@ -39,7 +39,7 @@ } @Log(title = "鐧诲綍鏃ュ織", businessType = BusinessType.EXPORT) - @PreAuthorize("@ss.hasPermi('monitor:logininfor:export')") + // @PreAuthorize("@ss.hasPermi('monitor:logininfor:export')") @GetMapping("/export") public AjaxResult export(SysLogininfor logininfor) { @@ -48,7 +48,7 @@ return util.exportExcel(list, "鐧诲綍鏃ュ織"); } - @PreAuthorize("@ss.hasPermi('monitor:logininfor:remove')") + // @PreAuthorize("@ss.hasPermi('monitor:logininfor:remove')") @Log(title = "鐧诲綍鏃ュ織", businessType = BusinessType.DELETE) @GetMapping("/remove/{infoIds}") public AjaxResult remove(@PathVariable Long[] infoIds) @@ -56,7 +56,7 @@ return toAjax(logininforService.deleteLogininforByIds(infoIds)); } - @PreAuthorize("@ss.hasPermi('monitor:logininfor:remove')") + // @PreAuthorize("@ss.hasPermi('monitor:logininfor:remove')") @Log(title = "鐧诲綍鏃ュ織", businessType = BusinessType.CLEAN) @GetMapping("/clean") public AjaxResult clean() diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysOperlogController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysOperlogController.java index f5173e1..e48aee0 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysOperlogController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysOperlogController.java @@ -29,7 +29,7 @@ @Autowired private ISysOperLogService operLogService; - @PreAuthorize("@ss.hasPermi('monitor:operlog:list')") + // @PreAuthorize("@ss.hasPermi('monitor:operlog:list')") @GetMapping("/list") public TableDataInfo list(SysOperLog operLog) { @@ -39,7 +39,7 @@ } @Log(title = "鎿嶄綔鏃ュ織", businessType = BusinessType.EXPORT) - @PreAuthorize("@ss.hasPermi('monitor:operlog:export')") + // @PreAuthorize("@ss.hasPermi('monitor:operlog:export')") @GetMapping("/export") public AjaxResult export(SysOperLog operLog) { @@ -49,7 +49,7 @@ } @Log(title = "鎿嶄綔鏃ュ織", businessType = BusinessType.DELETE) - @PreAuthorize("@ss.hasPermi('monitor:operlog:remove')") + // @PreAuthorize("@ss.hasPermi('monitor:operlog:remove')") @GetMapping("/remove/{operIds}") public AjaxResult remove(@PathVariable Long[] operIds) { @@ -57,7 +57,7 @@ } @Log(title = "鎿嶄綔鏃ュ織", businessType = BusinessType.CLEAN) - @PreAuthorize("@ss.hasPermi('monitor:operlog:remove')") + // @PreAuthorize("@ss.hasPermi('monitor:operlog:remove')") @GetMapping("/clean") public AjaxResult clean() { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysUserOnlineController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysUserOnlineController.java index f58092e..3b76f5e 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysUserOnlineController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysUserOnlineController.java @@ -38,7 +38,7 @@ @Autowired private RedisCache redisCache; - @PreAuthorize("@ss.hasPermi('monitor:online:list')") + // @PreAuthorize("@ss.hasPermi('monitor:online:list')") @GetMapping("/list") public TableDataInfo list(String ipaddr, String userName) { @@ -81,7 +81,7 @@ /** * 寮洪��鐢ㄦ埛 */ - @PreAuthorize("@ss.hasPermi('monitor:online:forceLogout')") + // @PreAuthorize("@ss.hasPermi('monitor:online:forceLogout')") @Log(title = "鍦ㄧ嚎鐢ㄦ埛", businessType = BusinessType.FORCE) @GetMapping("/forceLogout/{tokenId}") public AjaxResult forceLogout(@PathVariable String tokenId) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseAnnextypeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseAnnextypeController.java index e91e5fe..47390ca 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseAnnextypeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseAnnextypeController.java @@ -41,7 +41,7 @@ * 鏌ヨ鎹愮尞闄勪欢鍒楄〃 */ @ApiOperation("鏌ヨ鎹愮尞闄勪欢鍒楄〃") - @PreAuthorize("@ss.hasPermi('system:annextype:list')") + // @PreAuthorize("@ss.hasPermi('system:annextype:list')") @GetMapping("/list") public TableDataInfo list(BaseAnnextype baseAnnextype) { startPage(); @@ -53,7 +53,7 @@ * 瀵煎嚭鎹愮尞闄勪欢鍒楄〃 */ @ApiOperation("瀵煎嚭鎹愮尞闄勪欢鍒楄〃") - @PreAuthorize("@ss.hasPermi('system:annextype:export')") + // @PreAuthorize("@ss.hasPermi('system:annextype:export')") @Log(title = "鎹愮尞闄勪欢", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(BaseAnnextype baseAnnextype) { @@ -67,7 +67,7 @@ * 鑾峰彇鎹愮尞闄勪欢璇︾粏淇℃伅 */ @ApiOperation("鑾峰彇鎹愮尞闄勪欢璇︾粏淇℃伅") - @PreAuthorize("@ss.hasPermi('system:annextype:query')") + // @PreAuthorize("@ss.hasPermi('system:annextype:query')") @GetMapping(value = "/getInfo/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { log.info("鑾峰彇鎹愮尞闄勪欢璇︾粏淇℃伅{}锛�", id); @@ -79,7 +79,7 @@ * 鏂板鎹愮尞闄勪欢 */ @ApiOperation("鏂板鎹愮尞闄勪欢") - @PreAuthorize("@ss.hasPermi('system:annextype:add')") + // @PreAuthorize("@ss.hasPermi('system:annextype:add')") @Log(title = "鎹愮尞闄勪欢", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -97,7 +97,7 @@ * 淇敼鎹愮尞闄勪欢 */ @ApiOperation("淇敼鎹愮尞闄勪欢") - @PreAuthorize("@ss.hasPermi('system:annextype:edit')") + // @PreAuthorize("@ss.hasPermi('system:annextype:edit')") @Log(title = "鎹愮尞闄勪欢", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -114,7 +114,7 @@ * 鍒犻櫎鎹愮尞闄勪欢 */ @ApiOperation("鍒犻櫎鎹愮尞闄勪欢") - @PreAuthorize("@ss.hasPermi('system:annextype:remove')") + // @PreAuthorize("@ss.hasPermi('system:annextype:remove')") @Log(title = "鎹愮尞闄勪欢", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseFinancesubjectController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseFinancesubjectController.java index ae7aaa2..0b6591a 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseFinancesubjectController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseFinancesubjectController.java @@ -36,7 +36,7 @@ * 鏌ヨ鏀跺叆璐圭敤绉戠洰鍒楄〃 */ @ApiOperation("鏌ヨ鏀跺叆璐圭敤绉戠洰鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project::list')") + //// @PreAuthorize("@ss.hasPermi('project::list')") @GetMapping("/list") public TableDataInfo list(BaseFinancesubject baseFinancesubject) { log.info("鏌ヨ鏀跺叆璐圭敤绉戠洰鍒楄〃{}锛�", baseFinancesubject); @@ -50,7 +50,7 @@ * 瀵煎嚭鏀跺叆璐圭敤绉戠洰鍒楄〃 */ @ApiOperation("瀵煎嚭鏀跺叆璐圭敤绉戠洰鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:financesubject:export')") + //// @PreAuthorize("@ss.hasPermi('project:financesubject:export')") @Log(title = "鏀跺叆璐圭敤绉戠洰", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(BaseFinancesubject baseFinancesubject) { @@ -64,7 +64,7 @@ * 鑾峰彇鏀跺叆璐圭敤绉戠洰璇︾粏淇℃伅 */ @ApiOperation("鑾峰彇鏀跺叆璐圭敤绉戠洰璇︾粏淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:financesubject:query')") + //// @PreAuthorize("@ss.hasPermi('project:financesubject:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { log.info("鑾峰彇鏀跺叆璐圭敤绉戠洰璇︾粏淇℃伅{}锛�", id); @@ -75,7 +75,7 @@ * 鏂板鏀跺叆璐圭敤绉戠洰 */ @ApiOperation("鏂板鏀跺叆璐圭敤绉戠洰") - //@PreAuthorize("@ss.hasPermi('project:financesubject:add')") + //// @PreAuthorize("@ss.hasPermi('project:financesubject:add')") @Log(title = "鏀跺叆璐圭敤绉戠洰", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -90,7 +90,7 @@ * 淇敼鏀跺叆璐圭敤绉戠洰 */ @ApiOperation("淇敼鏀跺叆璐圭敤绉戠洰") - //@PreAuthorize("@ss.hasPermi('project:financesubject:edit')") + //// @PreAuthorize("@ss.hasPermi('project:financesubject:edit')") @Log(title = "鏀跺叆璐圭敤绉戠洰", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -103,7 +103,7 @@ * 鍒犻櫎鏀跺叆璐圭敤绉戠洰 */ @ApiOperation("鍒犻櫎鏀跺叆璐圭敤绉戠洰") - //@PreAuthorize("@ss.hasPermi('project:financesubject:remove')") + //// @PreAuthorize("@ss.hasPermi('project:financesubject:remove')") @Log(title = "鏀跺叆璐圭敤绉戠洰", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseOrganchargeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseOrganchargeController.java index f49a29b..f0c6fc4 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseOrganchargeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseOrganchargeController.java @@ -37,7 +37,7 @@ * 鏌ヨ浜轰綋鍣ㄥ畼鑾峰彇璐圭敤鍒楄〃 */ @ApiOperation("鏌ヨ浜轰綋鍣ㄥ畼鑾峰彇璐圭敤鍒楄〃") - @PreAuthorize("@ss.hasPermi('project:organcharge:list')") + // @PreAuthorize("@ss.hasPermi('project:organcharge:list')") @GetMapping("/list") public TableDataInfo list(BaseOrgancharge baseOrgancharge) { log.info("鏌ヨ浜轰綋鍣ㄥ畼鑾峰彇璐圭敤鍒楄〃{}锛�", baseOrgancharge); @@ -50,7 +50,7 @@ * 瀵煎嚭浜轰綋鍣ㄥ畼鑾峰彇璐圭敤鍒楄〃 */ @ApiOperation("瀵煎嚭浜轰綋鍣ㄥ畼鑾峰彇璐圭敤鍒楄〃") - @PreAuthorize("@ss.hasPermi('project:organcharge:export')") + // @PreAuthorize("@ss.hasPermi('project:organcharge:export')") @Log(title = "浜轰綋鍣ㄥ畼鑾峰彇璐圭敤", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(BaseOrgancharge baseOrgancharge) { @@ -64,7 +64,7 @@ * 鑾峰彇浜轰綋鍣ㄥ畼鑾峰彇璐圭敤璇︾粏淇℃伅 */ @ApiOperation("鑾峰彇浜轰綋鍣ㄥ畼鑾峰彇璐圭敤璇︾粏淇℃伅") - @PreAuthorize("@ss.hasPermi('project:organcharge:query')") + // @PreAuthorize("@ss.hasPermi('project:organcharge:query')") @GetMapping(value = "/getInfo/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { log.info("鑾峰彇浜轰綋鍣ㄥ畼鑾峰彇璐圭敤璇︾粏淇℃伅{}锛�", id); @@ -75,7 +75,7 @@ * 鏂板浜轰綋鍣ㄥ畼鑾峰彇璐圭敤 */ @ApiOperation("鏂板浜轰綋鍣ㄥ畼鑾峰彇璐圭敤") - @PreAuthorize("@ss.hasPermi('project:organcharge:add')") + // @PreAuthorize("@ss.hasPermi('project:organcharge:add')") @Log(title = "浜轰綋鍣ㄥ畼鑾峰彇璐圭敤", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -90,7 +90,7 @@ * 淇敼浜轰綋鍣ㄥ畼鑾峰彇璐圭敤 */ @ApiOperation("淇敼浜轰綋鍣ㄥ畼鑾峰彇璐圭敤") - @PreAuthorize("@ss.hasPermi('project:organcharge:edit')") + // @PreAuthorize("@ss.hasPermi('project:organcharge:edit')") @Log(title = "浜轰綋鍣ㄥ畼鑾峰彇璐圭敤", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -103,7 +103,7 @@ * 鍒犻櫎浜轰綋鍣ㄥ畼鑾峰彇璐圭敤 */ @ApiOperation("鍒犻櫎浜轰綋鍣ㄥ畼鑾峰彇璐圭敤") - @PreAuthorize("@ss.hasPermi('project:organcharge:remove')") + // @PreAuthorize("@ss.hasPermi('project:organcharge:remove')") @GetMapping("/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { log.info("鍒犻櫎浜轰綋鍣ㄥ畼鑾峰彇璐圭敤{}锛�", ids); diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseOrganizationController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseOrganizationController.java index 06321bc..56aeceb 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseOrganizationController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseOrganizationController.java @@ -42,7 +42,7 @@ * 鏌ヨ鏈烘瀯绠$悊鍒楄〃 */ @ApiOperation("鑾峰彇鏈烘瀯鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:organization:list')") + //// @PreAuthorize("@ss.hasPermi('project:organization:list')") @GetMapping("/list") public TableDataInfo list(BaseOrganization baseOrganization) { log.info("鑾峰彇鏈烘瀯鍒楄〃{}锛�", baseOrganization); @@ -55,7 +55,7 @@ * 瀵煎嚭鏈烘瀯绠$悊鍒楄〃 */ @ApiOperation("瀵煎嚭鏈烘瀯淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:organization:export')") + //// @PreAuthorize("@ss.hasPermi('project:organization:export')") @Log(title = "鏈烘瀯绠$悊", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(BaseOrganization baseOrganization) { @@ -69,7 +69,7 @@ * 鑾峰彇鏈烘瀯绠$悊璇︾粏淇℃伅 */ @ApiOperation("閫氳繃鏈烘瀯id鑾峰彇鏈烘瀯淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:organization:query')") + //// @PreAuthorize("@ss.hasPermi('project:organization:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { log.info("鑾峰彇鏈烘瀯绠$悊璇︾粏淇℃伅{}锛�", id); @@ -80,7 +80,7 @@ * 鏂板鏈烘瀯绠$悊 */ @ApiOperation("鏂板鏈烘瀯淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:organization:add')") + //// @PreAuthorize("@ss.hasPermi('project:organization:add')") @Log(title = "鏈烘瀯绠$悊", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -110,7 +110,7 @@ * 淇敼鏈烘瀯绠$悊 */ @ApiOperation("淇敼鏈烘瀯淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:organization:edit')") + //// @PreAuthorize("@ss.hasPermi('project:organization:edit')") @Log(title = "鏈烘瀯绠$悊", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -123,7 +123,7 @@ * 鍒犻櫎鏈烘瀯绠$悊 */ @ApiOperation("鍒犻櫎鏈烘瀯淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:organization:remove')") + //// @PreAuthorize("@ss.hasPermi('project:organization:remove')") @Log(title = "鏈烘瀯绠$悊", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BasePrcaddressDictController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BasePrcaddressDictController.java index 07db4ea..087ab61 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BasePrcaddressDictController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BasePrcaddressDictController.java @@ -44,7 +44,7 @@ * 鏌ヨ鐪佸競鍖虹鐞嗗垪琛� */ @ApiOperation("鑾峰彇鐪佸競鍖哄垪琛�") - //@PreAuthorize("@ss.hasPermi('project:dict:list')") + //// @PreAuthorize("@ss.hasPermi('project:dict:list')") @GetMapping("/list") public TableDataInfo list(BasePrcaddressDict basePrcaddressDict) { log.info("鏌ヨ鐪佸競鍖虹鐞嗗垪琛▄}锛�", basePrcaddressDict); @@ -69,7 +69,7 @@ * 瀵煎嚭鐪佸競鍖虹鐞嗗垪琛� */ @ApiOperation("瀵煎嚭鐪佸競鍖哄垪琛�") - //@PreAuthorize("@ss.hasPermi('project:dict:export')") + //// @PreAuthorize("@ss.hasPermi('project:dict:export')") @Log(title = "鐪佸競鍖虹鐞�", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(BasePrcaddressDict basePrcaddressDict) { @@ -83,7 +83,7 @@ * 鑾峰彇鐪佸競鍖虹鐞嗚缁嗕俊鎭� */ @ApiOperation("閫氳繃id鑾峰緱鐪佸競鍖�") - //@PreAuthorize("@ss.hasPermi('project:dict:query')") + //// @PreAuthorize("@ss.hasPermi('project:dict:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { log.info("鑾峰彇鐪佸競鍖虹鐞嗚缁嗕俊鎭瘂}锛�", id); @@ -94,7 +94,7 @@ * 鏂板鐪佸競鍖虹鐞� */ @ApiOperation("鏂板鐪佸競鍖�") - //@PreAuthorize("@ss.hasPermi('project:dict:add')") + //// @PreAuthorize("@ss.hasPermi('project:dict:add')") @Log(title = "鐪佸競鍖虹鐞�", businessType = BusinessType.INSERT) @PostMapping @RepeatSubmit @@ -107,7 +107,7 @@ * 淇敼鐪佸競鍖虹鐞� */ @ApiOperation("淇敼鐪佸競鍖�") - //@PreAuthorize("@ss.hasPermi('project:dict:edit')") + //// @PreAuthorize("@ss.hasPermi('project:dict:edit')") @Log(title = "鐪佸競鍖虹鐞�", businessType = BusinessType.UPDATE) @PutMapping @RepeatSubmit @@ -120,7 +120,7 @@ * 鍒犻櫎鐪佸競鍖虹鐞� */ @ApiOperation("鍒犻櫎鐪佸競鍖�") - //@PreAuthorize("@ss.hasPermi('project:dict:remove')") + //// @PreAuthorize("@ss.hasPermi('project:dict:remove')") @Log(title = "鐪佸競鍖虹鐞�", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseTravelcityController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseTravelcityController.java index 3b0aba3..6fd9937 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseTravelcityController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseTravelcityController.java @@ -38,7 +38,7 @@ * 鏌ヨ宸梾鍩庡競鍜岃ˉ璐存爣鍑嗗垪琛� */ @ApiOperation("鏌ヨ宸梾鍩庡競鍜岃ˉ璐存爣鍑嗗垪琛�") - @PreAuthorize("@ss.hasPermi('project:travelcity:list')") + // @PreAuthorize("@ss.hasPermi('project:travelcity:list')") @GetMapping("/list") public TableDataInfo list(BaseTravelcity baseTravelcity) { log.info("鏌ヨ宸梾鍩庡競鍜岃ˉ璐存爣鍑嗗垪琛▄}锛�", baseTravelcity); @@ -51,7 +51,7 @@ * 瀵煎嚭宸梾鍩庡競鍜岃ˉ璐存爣鍑嗗垪琛� */ @ApiOperation("瀵煎嚭宸梾鍩庡競鍜岃ˉ璐存爣鍑嗗垪琛�") - @PreAuthorize("@ss.hasPermi('project:travelcity:export')") + // @PreAuthorize("@ss.hasPermi('project:travelcity:export')") @Log(title = "宸梾鍩庡競鍜岃ˉ璐存爣鍑�", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(BaseTravelcity baseTravelcity) { @@ -65,7 +65,7 @@ * 鑾峰彇宸梾鍩庡競鍜岃ˉ璐存爣鍑嗚缁嗕俊鎭� */ @ApiOperation("鑾峰彇宸梾鍩庡競鍜岃ˉ璐存爣鍑嗚缁嗕俊鎭�") - @PreAuthorize("@ss.hasPermi('project:travelcity:query')") + // @PreAuthorize("@ss.hasPermi('project:travelcity:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { log.info("鑾峰彇宸梾鍩庡競鍜岃ˉ璐存爣鍑嗚缁嗕俊鎭瘂}锛�", id); @@ -76,7 +76,7 @@ * 鏂板宸梾鍩庡競鍜岃ˉ璐存爣鍑� */ @ApiOperation("鏂板宸梾鍩庡競鍜岃ˉ璐存爣鍑�") - @PreAuthorize("@ss.hasPermi('project:travelcity:add')") + // @PreAuthorize("@ss.hasPermi('project:travelcity:add')") @Log(title = "宸梾鍩庡競鍜岃ˉ璐存爣鍑�", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -91,7 +91,7 @@ * 淇敼宸梾鍩庡競鍜岃ˉ璐存爣鍑� */ @ApiOperation("淇敼宸梾鍩庡競鍜岃ˉ璐存爣鍑�") - @PreAuthorize("@ss.hasPermi('project:travelcity:edit')") + // @PreAuthorize("@ss.hasPermi('project:travelcity:edit')") @Log(title = "宸梾鍩庡競鍜岃ˉ璐存爣鍑�", businessType = BusinessType.UPDATE) @PutMapping @RepeatSubmit @@ -104,7 +104,7 @@ * 鍒犻櫎宸梾鍩庡競鍜岃ˉ璐存爣鍑� */ @ApiOperation("鍒犻櫎宸梾鍩庡競鍜岃ˉ璐存爣鍑�") - @PreAuthorize("@ss.hasPermi('project:travelcity:remove')") + // @PreAuthorize("@ss.hasPermi('project:travelcity:remove')") @Log(title = "宸梾鍩庡競鍜岃ˉ璐存爣鍑�", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { @@ -117,7 +117,7 @@ * 鏍规嵁鍖哄煙鑾峰彇浼欓琛ュ姪銆佸叕鏉傝琛ュ姪 */ @ApiOperation("鏍规嵁鍖哄煙鑾峰彇琛ュ姪") - // @PreAuthorize("@ss.hasPermi('project:travelcity:list')") + // // @PreAuthorize("@ss.hasPermi('project:travelcity:list')") @GetMapping("/getSubsidy/{cityCode}") public AjaxResult getSubsidy(@PathVariable String cityCode) { log.info("鏍规嵁鍖哄煙鑾峰彇浼欓琛ュ姪銆佸叕鏉傝琛ュ姪{}锛�", cityCode); diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateannexController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateannexController.java index d1a0c52..b8e9724 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateannexController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateannexController.java @@ -47,7 +47,7 @@ * 鏌ヨ鎹愮尞闄勪欢鍒楄〃 */ @ApiOperation("闄勪欢绠$悊鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:donateannex:list')") + //// @PreAuthorize("@ss.hasPermi('project:donateannex:list')") @GetMapping("/list") public TableDataInfo list(ServiceDonateannex serviceDonateannex) { log.info("闄勪欢绠$悊鍒楄〃锛歿}", serviceDonateannex); @@ -69,7 +69,7 @@ * 瀵煎嚭鎹愮尞闄勪欢鍒楄〃 */ @ApiOperation("瀵煎嚭鎹愮尞闄勪欢鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:donateannex:export')") + //// @PreAuthorize("@ss.hasPermi('project:donateannex:export')") @Log(title = "鎹愮尞闄勪欢", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceDonateannex serviceDonateannex) { @@ -83,7 +83,7 @@ * 鑾峰彇鎹愮尞闄勪欢璇︾粏淇℃伅 */ @ApiOperation("閫氳繃id鑾峰緱鎹愮尞闄勪欢淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:donateannex:query')") + //// @PreAuthorize("@ss.hasPermi('project:donateannex:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { log.info("閫氳繃id鑾峰緱鎹愮尞闄勪欢淇℃伅锛歿}", id); @@ -94,7 +94,7 @@ * 鏂板鎹愮尞闄勪欢 */ @ApiOperation("鏂板鎹愮尞闄勪欢淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:donateannex:add')") + //// @PreAuthorize("@ss.hasPermi('project:donateannex:add')") @Log(title = "鎹愮尞闄勪欢", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -107,7 +107,7 @@ * 淇敼鎹愮尞闄勪欢 */ @ApiOperation("淇敼鎹愮尞闄勪欢淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:donateannex:edit')") + //// @PreAuthorize("@ss.hasPermi('project:donateannex:edit')") @Log(title = "鎹愮尞闄勪欢", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -121,7 +121,7 @@ * 淇敼鎹愮尞闄勪欢 */ @ApiOperation("淇敼娼滃湪鎹愮尞銆佷鸡鐞嗗鏌ャ�佸畬鎴愮櫥璁般�佸尰瀛﹁瘎浼伴檮浠朵俊鎭�") - //@PreAuthorize("@ss.hasPermi('project:donateannex:edit')") + //// @PreAuthorize("@ss.hasPermi('project:donateannex:edit')") @Log(title = "鎹愮尞闄勪欢", businessType = BusinessType.UPDATE) @PostMapping("/editannexfiles") @RepeatSubmit @@ -134,7 +134,7 @@ * 鍒犻櫎鎹愮尞闄勪欢 */ @ApiOperation("鍒犻櫎鎹愮尞鏂囦欢淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:donateannex:remove')") + //// @PreAuthorize("@ss.hasPermi('project:donateannex:remove')") @Log(title = "鎹愮尞闄勪欢", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateannexrequirementController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateannexrequirementController.java index ffdc2a0..fec4b17 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateannexrequirementController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateannexrequirementController.java @@ -44,7 +44,7 @@ * 鏌ヨ鎹愮尞闄勪欢瑕佹眰鍒楄〃 */ @ApiOperation("鎹愮尞瑕佹眰闄勪欢绠$悊鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:donateannexrequirement:list')") + //// @PreAuthorize("@ss.hasPermi('project:donateannexrequirement:list')") @GetMapping("/list") public TableDataInfo list(ServiceDonateannexrequirement serviceDonateannexrequirement) { log.info("鎹愮尞瑕佹眰闄勪欢绠$悊鍒楄〃锛歿}", serviceDonateannexrequirement); @@ -57,7 +57,7 @@ * 瀵煎嚭鎹愮尞闄勪欢瑕佹眰鍒楄〃 */ @ApiOperation("瀵煎嚭鎹愮尞瑕佹眰闄勪欢绠$悊鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:donateannexrequirement:export')") + //// @PreAuthorize("@ss.hasPermi('project:donateannexrequirement:export')") @Log(title = "鎹愮尞闄勪欢瑕佹眰", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceDonateannexrequirement serviceDonateannexrequirement) { @@ -71,7 +71,7 @@ * 鑾峰彇鎹愮尞闄勪欢瑕佹眰璇︾粏淇℃伅 */ @ApiOperation("閫氳繃id鑾峰彇鎹愮尞瑕佹眰闄勪欢") - //@PreAuthorize("@ss.hasPermi('project:donateannexrequirement:query')") + //// @PreAuthorize("@ss.hasPermi('project:donateannexrequirement:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { log.info("閫氳繃id鑾峰彇鎹愮尞瑕佹眰闄勪欢锛歿}", id); @@ -82,7 +82,7 @@ * 鏂板鎹愮尞闄勪欢瑕佹眰 */ @ApiOperation("鏂板鎹愮尞瑕佹眰闄勪欢淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:donateannexrequirement:add')") + //// @PreAuthorize("@ss.hasPermi('project:donateannexrequirement:add')") @Log(title = "鎹愮尞闄勪欢瑕佹眰", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -97,7 +97,7 @@ * 淇敼鎹愮尞闄勪欢瑕佹眰 */ @ApiOperation("淇敼鎹愮尞瑕佹眰闄勪欢淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:donateannexrequirement:edit')") + //// @PreAuthorize("@ss.hasPermi('project:donateannexrequirement:edit')") @Log(title = "鎹愮尞闄勪欢瑕佹眰", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -110,7 +110,7 @@ * 鍒犻櫎鎹愮尞闄勪欢瑕佹眰 */ @ApiOperation("鍒犻櫎鎹愮尞瑕佹眰闄勪欢淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:donateannexrequirement:remove')") + //// @PreAuthorize("@ss.hasPermi('project:donateannexrequirement:remove')") @Log(title = "鎹愮尞闄勪欢瑕佹眰", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatebaseinfoController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatebaseinfoController.java index c6b55d2..676b44c 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatebaseinfoController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatebaseinfoController.java @@ -70,7 +70,7 @@ * 鏌ヨ鎹愮尞鍩虹鍒楄〃 */ @ApiOperation("娼滃湪鎹愮尞淇℃伅鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:donatebaseinfo:list')") + //// @PreAuthorize("@ss.hasPermi('project:donatebaseinfo:list')") @GetMapping("/list") public TableDataInfo list(ServiceDonatebaseinfo serviceDonatebaseinfo) { log.info("娼滃湪鎹愮尞淇℃伅鍒楄〃锛歿}", serviceDonatebaseinfo); @@ -94,7 +94,7 @@ * 瀵煎嚭鎹愮尞鍩虹鍒楄〃 */ @ApiOperation("瀵煎嚭娼滃湪鎹愮尞淇℃伅鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:donatebaseinfo:export')") + //// @PreAuthorize("@ss.hasPermi('project:donatebaseinfo:export')") @Log(title = "鎹愮尞鍩虹", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceDonatebaseinfo serviceDonatebaseinfo) { @@ -108,7 +108,7 @@ * 鑾峰彇鎹愮尞鍩虹璇︾粏淇℃伅 */ @ApiOperation("閫氳繃id鑾峰緱娼滃湪鎹愮尞淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:donatebaseinfo:query')") + //// @PreAuthorize("@ss.hasPermi('project:donatebaseinfo:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { log.info("閫氳繃id鑾峰緱娼滃湪鎹愮尞淇℃伅锛歿}", id); @@ -119,7 +119,7 @@ * 鏂板鎹愮尞鍩虹 */ @ApiOperation("鏂板娼滃湪鎹愮尞淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:donatebaseinfo:add')") + //// @PreAuthorize("@ss.hasPermi('project:donatebaseinfo:add')") @Log(title = "鎹愮尞鍩虹", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -161,7 +161,7 @@ * 淇敼鎹愮尞鍩虹 */ @ApiOperation("淇敼娼滃湪鎹愮尞淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:donatebaseinfo:edit')") + //// @PreAuthorize("@ss.hasPermi('project:donatebaseinfo:edit')") @Log(title = "鎹愮尞鍩虹", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -174,7 +174,7 @@ * 鍒犻櫎鎹愮尞鍩虹 */ @ApiOperation("鍒犻櫎娼滃湪鎹愮尞淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:donatebaseinfo:remove')") + //// @PreAuthorize("@ss.hasPermi('project:donatebaseinfo:remove')") @Log(title = "鎹愮尞鍩虹", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatecompletioninfoController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatecompletioninfoController.java index bb29157..0c05ca2 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatecompletioninfoController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatecompletioninfoController.java @@ -63,7 +63,7 @@ * 鏌ヨ鎹愮尞瀹屾垚鍒楄〃 */ @ApiOperation("鏌ヨ鎹愮尞瀹屾垚鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:list')") + //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:list')") @GetMapping("/list") public TableDataInfo list(ServiceDonatecompletioninfo serviceDonatecompletioninfo) { log.info("鏌ヨ鎹愮尞瀹屾垚鍒楄〃锛歿}", serviceDonatecompletioninfo); @@ -87,7 +87,7 @@ * 瀵煎嚭鎹愮尞瀹屾垚鍒楄〃 */ @ApiOperation("瀵煎嚭鎹愮尞瀹屾垚鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:export')") + //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:export')") @Log(title = "鎹愮尞瀹屾垚", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceDonatecompletioninfo serviceDonatecompletioninfo) { @@ -101,7 +101,7 @@ * 鑾峰彇鎹愮尞瀹屾垚璇︾粏淇℃伅 */ @ApiOperation("閫氳繃id鑾峰彇鏌愪竴鏉℃崘鐚畬鎴愪俊鎭�") - //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:query')") + //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { log.info("閫氳繃id鑾峰彇鏌愪竴鏉℃崘鐚畬鎴愪俊鎭細{}", id); @@ -112,7 +112,7 @@ * 鏂板鎹愮尞瀹屾垚 */ @ApiOperation("鏂板鎹愮尞瀹屾垚") - //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:add')") + //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:add')") @Log(title = "鎹愮尞瀹屾垚", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit(interval = 5000) @@ -128,7 +128,7 @@ // * 鏂板鎹愮尞瀹屾垚璇︽儏 // */ // @ApiOperation("鏂板鎹愮尞瀹屾垚璇︽儏") -// //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:add')") +// //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:add')") // @Log(title = "鏂板鎹愮尞瀹屾垚璇︽儏", businessType = BusinessType.INSERT) // @PostMapping // @RepeatSubmit(interval = 5000) @@ -149,7 +149,7 @@ @RepeatSubmit @ApiOperation("鏂板鎴栦慨鏀规崘鐚畬鎴�") - //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:edit')") + //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:edit')") @Log(title = "鎹愮尞瀹屾垚", businessType = BusinessType.UPDATE) @PostMapping("/saveOrUpdateDonatecompletioninfo") public AjaxResult saveOrUpdateDonatecompletioninfo(@RequestBody List<ServiceDonatecompletioninfo> serviceDonatecompletioninfoList) { @@ -173,7 +173,7 @@ */ @RepeatSubmit @ApiOperation("淇敼鎹愮尞瀹屾垚") - //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:edit')") + //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:edit')") @Log(title = "鎹愮尞瀹屾垚", businessType = BusinessType.UPDATE) @PostMapping("/edit") public AjaxResult edit(@RequestBody ServiceDonatecompletioninfo serviceDonatecompletioninfo) { @@ -191,7 +191,7 @@ * 鍒犻櫎鎹愮尞瀹屾垚 */ @ApiOperation("鍒犻櫎鎹愮尞瀹屾垚") - //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:remove')") + //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:remove')") @Log(title = "鎹愮尞瀹屾垚", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatecomporganController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatecomporganController.java index c8fdc16..4c8837e 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatecomporganController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatecomporganController.java @@ -38,7 +38,7 @@ * 鏌ヨ鎹愮尞鍣ㄥ畼绉绘鍒楄〃 */ @ApiOperation("鏌ヨ鎹愮尞鍣ㄥ畼绉绘鍒楄〃") - // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:list')") + // // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:list')") @GetMapping("/list") public TableDataInfo list(ServiceDonatecomporgan serviceDonatecomporgan) { startPage(); @@ -50,7 +50,7 @@ * 瀵煎嚭鎹愮尞鍣ㄥ畼绉绘鍒楄〃 */ @ApiOperation("瀵煎嚭鎹愮尞鍣ㄥ畼绉绘鍒楄〃") - // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:export')") + // // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:export')") @Log(title = "鎹愮尞鍣ㄥ畼绉绘", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceDonatecomporgan serviceDonatecomporgan) { @@ -63,7 +63,7 @@ * 鑾峰彇鎹愮尞鍣ㄥ畼绉绘璇︾粏淇℃伅 */ @ApiOperation("鑾峰彇鎹愮尞鍣ㄥ畼绉绘璇︾粏淇℃伅") - // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:query')") + // // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceDonatecomporganService.getById(id)); @@ -73,7 +73,7 @@ * 鏂板鎹愮尞鍣ㄥ畼绉绘 */ @ApiOperation("鏂板鎹愮尞鍣ㄥ畼绉绘") - // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:add')") + // // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:add')") @Log(title = "鎹愮尞鍣ㄥ畼绉绘", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -86,7 +86,7 @@ * 淇敼鎹愮尞鍣ㄥ畼绉绘 */ @ApiOperation("淇敼鎹愮尞鍣ㄥ畼绉绘") - // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:edit')") + // // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:edit')") @Log(title = "鎹愮尞鍣ㄥ畼绉绘", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -98,7 +98,7 @@ * 鍒犻櫎鎹愮尞鍣ㄥ畼绉绘 */ @ApiOperation("鍒犻櫎鎹愮尞鍣ㄥ畼绉绘") - // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:remove')") + // // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:remove')") @Log(title = "鎹愮尞鍣ㄥ畼绉绘", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateflowchartController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateflowchartController.java index 0ededfa..4307ae6 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateflowchartController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateflowchartController.java @@ -43,7 +43,7 @@ * 鏌ヨ鎹愮尞娴佺▼鍒楄〃 */ @ApiOperation("鏌ヨ鎹愮尞娴佺▼") - //@PreAuthorize("@ss.hasPermi('system:donateflowchart:list')") + //// @PreAuthorize("@ss.hasPermi('system:donateflowchart:list')") @GetMapping("/list") public TableDataInfo list(ServiceDonateflowchart serviceDonateflowchart) { startPage(); @@ -56,7 +56,7 @@ * 瀵煎嚭鎹愮尞娴佺▼鍒楄〃 */ @ApiOperation("瀵煎嚭鎹愮尞娴佺▼") - //@PreAuthorize("@ss.hasPermi('system:donateflowchart:export')") + //// @PreAuthorize("@ss.hasPermi('system:donateflowchart:export')") @Log(title = "鎹愮尞娴佺▼", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceDonateflowchart serviceDonateflowchart) { @@ -69,7 +69,7 @@ * 鑾峰彇鎹愮尞娴佺▼璇︾粏淇℃伅 */ @ApiOperation("閫氳繃id鑾峰彇鎹愮尞娴佺▼") - //@PreAuthorize("@ss.hasPermi('system:donateflowchart:query')") + //// @PreAuthorize("@ss.hasPermi('system:donateflowchart:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceDonateflowchartService.getById(id)); @@ -79,7 +79,7 @@ * 鏂板鎹愮尞娴佺▼ */ @ApiOperation("鏂板鎹愮尞娴佺▼") - //@PreAuthorize("@ss.hasPermi('system:donateflowchart:add')") + //// @PreAuthorize("@ss.hasPermi('system:donateflowchart:add')") @Log(title = "鎹愮尞娴佺▼", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -92,7 +92,7 @@ * 淇敼鎹愮尞娴佺▼ */ @ApiOperation("淇敼鎹愮尞娴佺▼") - //@PreAuthorize("@ss.hasPermi('system:donateflowchart:edit')") + //// @PreAuthorize("@ss.hasPermi('system:donateflowchart:edit')") @Log(title = "鎹愮尞娴佺▼", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -111,7 +111,7 @@ * 鍒犻櫎鎹愮尞娴佺▼ */ @ApiOperation("鍒犻櫎鎹愮尞娴佺▼") - //@PreAuthorize("@ss.hasPermi('system:donateflowchart:remove')") + //// @PreAuthorize("@ss.hasPermi('system:donateflowchart:remove')") @Log(title = "鎹愮尞娴佺▼", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatefollowupController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatefollowupController.java index 0754568..965eb52 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatefollowupController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatefollowupController.java @@ -43,7 +43,7 @@ * 鏌ヨ鎹愮尞闅忚鍒楄〃 */ @ApiOperation("鏌ヨ鎹愮尞闅忚鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:donatefollowup:list')") + //// @PreAuthorize("@ss.hasPermi('project:donatefollowup:list')") @GetMapping("/list") public TableDataInfo list(ServiceDonatefollowup serviceDonatefollowup) { startPage(); @@ -65,7 +65,7 @@ * 瀵煎嚭鎹愮尞闅忚鍒楄〃 */ @ApiOperation("瀵煎嚭鎹愮尞闅忚鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:donatefollowup:export')") + //// @PreAuthorize("@ss.hasPermi('project:donatefollowup:export')") @Log(title = "鎹愮尞闅忚", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceDonatefollowup serviceDonatefollowup) { @@ -78,7 +78,7 @@ * 鑾峰彇鎹愮尞闅忚璇︾粏淇℃伅 */ @ApiOperation("鑾峰彇鎹愮尞闅忚璇︾粏淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:donatefollowup:query')") + //// @PreAuthorize("@ss.hasPermi('project:donatefollowup:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { //return AjaxResult.success(serviceDonatefollowupService.getById(id)); @@ -89,7 +89,7 @@ * 鏂板鎹愮尞闅忚 */ @ApiOperation("鏂板鎹愮尞闅忚") - //@PreAuthorize("@ss.hasPermi('project:donatefollowup:add')") + //// @PreAuthorize("@ss.hasPermi('project:donatefollowup:add')") @Log(title = "鎹愮尞闅忚", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -102,7 +102,7 @@ * 淇敼鎹愮尞闅忚 */ @ApiOperation("淇敼鎹愮尞闅忚") - //@PreAuthorize("@ss.hasPermi('project:donatefollowup:edit')") + //// @PreAuthorize("@ss.hasPermi('project:donatefollowup:edit')") @Log(title = "鎹愮尞闅忚", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -115,7 +115,7 @@ * 鍒犻櫎鎹愮尞闅忚 */ @ApiOperation("鍒犻櫎鎹愮尞闅忚") - //@PreAuthorize("@ss.hasPermi('project:donatefollowup:remove')") + //// @PreAuthorize("@ss.hasPermi('project:donatefollowup:remove')") @Log(title = "鎹愮尞闅忚", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateorganController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateorganController.java index 7bceb2a..ef5f73b 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateorganController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateorganController.java @@ -50,7 +50,7 @@ * 鏌ヨ鎹愮尞鍣ㄥ畼绠$悊鍒楄〃 */ @ApiOperation("鎹愮尞鍣ㄥ畼鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:donateorgan:list')") + //// @PreAuthorize("@ss.hasPermi('project:donateorgan:list')") @GetMapping("/list") public TableDataInfo list(ServiceDonateorgan serviceDonateorgan) { startPage(); @@ -82,7 +82,7 @@ * 瀵煎嚭鎹愮尞鍣ㄥ畼绠$悊鍒楄〃 */ @ApiOperation("瀵煎嚭鎹愮尞鍣ㄥ畼鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:donateorgan:export')") + //// @PreAuthorize("@ss.hasPermi('project:donateorgan:export')") @Log(title = "鎹愮尞鍣ㄥ畼绠$悊", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceDonateorgan serviceDonateorgan) { @@ -95,7 +95,7 @@ * 鑾峰彇鎹愮尞鍣ㄥ畼绠$悊璇︾粏淇℃伅 */ @ApiOperation("閫氳繃id鑾峰緱鎹愮尞鍣ㄥ畼淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:donateorgan:query')") + //// @PreAuthorize("@ss.hasPermi('project:donateorgan:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceDonateorganService.getById(id)); @@ -105,7 +105,7 @@ * 鏂板鎹愮尞鍣ㄥ畼绠$悊 */ @ApiOperation("鏂板鎹愮尞鍣ㄥ畼淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:donateorgan:add')") + //// @PreAuthorize("@ss.hasPermi('project:donateorgan:add')") @Log(title = "鎹愮尞鍣ㄥ畼绠$悊", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -131,7 +131,7 @@ * 鏂板鎹愮尞鍣ㄥ畼绠$悊 */ @ApiOperation("鏂板鎹愮尞鍣ㄥ畼淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:donateorgan:add')") + //// @PreAuthorize("@ss.hasPermi('project:donateorgan:add')") @Log(title = "鎹愮尞鍣ㄥ畼绠$悊", businessType = BusinessType.INSERT) @PostMapping("/addData") @RepeatSubmit @@ -145,7 +145,7 @@ * 淇敼鍣ㄥ畼鍒嗛厤 */ @ApiOperation("淇敼鍣ㄥ畼鍒嗛厤淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:organallocation:edit')") + //// @PreAuthorize("@ss.hasPermi('project:organallocation:edit')") @Log(title = "鍣ㄥ畼鍒嗛厤", businessType = BusinessType.UPDATE) @PostMapping("/editarraydata") @RepeatSubmit @@ -157,7 +157,7 @@ * 淇敼鎹愮尞鍣ㄥ畼绠$悊 */ @ApiOperation("淇敼鎹愮尞鍣ㄥ畼淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:donateorgan:edit')") + //// @PreAuthorize("@ss.hasPermi('project:donateorgan:edit')") @Log(title = "鎹愮尞鍣ㄥ畼绠$悊", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -169,7 +169,7 @@ * 鍒犻櫎鎹愮尞鍣ㄥ畼绠$悊 */ @ApiOperation("鍒犻櫎鎹愮尞鍣ㄥ畼淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:donateorgan:remove')") + //// @PreAuthorize("@ss.hasPermi('project:donateorgan:remove')") @Log(title = "鎹愮尞鍣ㄥ畼绠$悊", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateorganstaticsController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateorganstaticsController.java index 88e0f72..34d89d3 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateorganstaticsController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateorganstaticsController.java @@ -35,7 +35,7 @@ * 鏌ヨ鎹愮尞妗堜緥鍣ㄥ畼鍒楀垪琛� */ @ApiOperation("鏌ヨ鎹愮尞妗堜緥鍣ㄥ畼鍒楀垪琛�") - @PreAuthorize("@ss.hasPermi('project:donateorganstatics:list')") + // @PreAuthorize("@ss.hasPermi('project:donateorganstatics:list')") @GetMapping("/list") public TableDataInfo list(ServiceDonateorganstatics serviceDonateorganstatics) { startPage(); @@ -47,7 +47,7 @@ * 瀵煎嚭鎹愮尞妗堜緥鍣ㄥ畼鍒楀垪琛� */ @ApiOperation("瀵煎嚭鎹愮尞妗堜緥鍣ㄥ畼鍒楀垪琛�") - @PreAuthorize("@ss.hasPermi('project:donateorganstatics:export')") + // @PreAuthorize("@ss.hasPermi('project:donateorganstatics:export')") @Log(title = "鎹愮尞妗堜緥鍣ㄥ畼鍒�", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceDonateorganstatics serviceDonateorganstatics) { @@ -60,7 +60,7 @@ * 鑾峰彇鎹愮尞妗堜緥鍣ㄥ畼鍒楄缁嗕俊鎭� */ @ApiOperation("鑾峰彇鎹愮尞妗堜緥鍣ㄥ畼鍒楄缁嗕俊鎭�") - @PreAuthorize("@ss.hasPermi('project:donateorganstatics:query')") + // @PreAuthorize("@ss.hasPermi('project:donateorganstatics:query')") @GetMapping(value = "/getInfo/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceDonateorganstaticsService.getById(id)); @@ -70,7 +70,7 @@ * 鏂板鎹愮尞妗堜緥鍣ㄥ畼鍒� */ @ApiOperation("鏂板鎹愮尞妗堜緥鍣ㄥ畼鍒�") - @PreAuthorize("@ss.hasPermi('project:donateorganstatics:add')") + // @PreAuthorize("@ss.hasPermi('project:donateorganstatics:add')") @Log(title = "鎹愮尞妗堜緥鍣ㄥ畼鍒�", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -83,7 +83,7 @@ * 淇敼鎹愮尞妗堜緥鍣ㄥ畼鍒� */ @ApiOperation("淇敼鎹愮尞妗堜緥鍣ㄥ畼鍒�") - @PreAuthorize("@ss.hasPermi('project:donateorganstatics:edit')") + // @PreAuthorize("@ss.hasPermi('project:donateorganstatics:edit')") @Log(title = "鎹愮尞妗堜緥鍣ㄥ畼鍒�", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -95,7 +95,7 @@ * 鍒犻櫎鎹愮尞妗堜緥鍣ㄥ畼鍒� */ @ApiOperation("鍒犻櫎鎹愮尞妗堜緥鍣ㄥ畼鍒�") - @PreAuthorize("@ss.hasPermi('project:donateorganstatics:remove')") + // @PreAuthorize("@ss.hasPermi('project:donateorganstatics:remove')") @Log(title = "鎹愮尞妗堜緥鍣ㄥ畼鍒�", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonationwitnessController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonationwitnessController.java index 212a970..1152ca9 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonationwitnessController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonationwitnessController.java @@ -80,7 +80,7 @@ * 鏌ヨ鎹愮尞瑙佽瘉鍒楄〃 */ @ApiOperation("鑾峰彇鎹愮尞瑙佽瘉鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:donationwitness:list')") + //// @PreAuthorize("@ss.hasPermi('project:donationwitness:list')") @GetMapping("/list") public TableDataInfo list(ServiceDonationwitness serviceDonationwitness) { startPage(); @@ -101,7 +101,7 @@ * 瀵煎嚭鎹愮尞瑙佽瘉鍒楄〃 */ @ApiOperation("瀵煎嚭鎹愮尞瑙佽瘉鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:donationwitness:export')") + //// @PreAuthorize("@ss.hasPermi('project:donationwitness:export')") @Log(title = "鎹愮尞瑙佽瘉", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceDonationwitness serviceDonationwitness) { @@ -114,7 +114,7 @@ * 鑾峰彇鎹愮尞瑙佽瘉璇︾粏淇℃伅 */ @ApiOperation("閫氳繃id鑾峰彇瑙佽瘉淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:donationwitness:query')") + //// @PreAuthorize("@ss.hasPermi('project:donationwitness:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceDonationwitnessService.getById(id)); @@ -124,7 +124,7 @@ * 鏂板鎹愮尞瑙佽瘉 */ @ApiOperation("鏂板鎹愮尞瑙佽瘉") - //@PreAuthorize("@ss.hasPermi('project:donationwitness:add')") + //// @PreAuthorize("@ss.hasPermi('project:donationwitness:add')") @Log(title = "鎹愮尞瑙佽瘉", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -147,7 +147,7 @@ * 淇敼鎹愮尞瑙佽瘉 */ @ApiOperation("淇敼鎹愮尞瑙佽瘉") - //@PreAuthorize("@ss.hasPermi('project:donationwitness:edit')") + //// @PreAuthorize("@ss.hasPermi('project:donationwitness:edit')") @Log(title = "鎹愮尞瑙佽瘉", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -170,7 +170,7 @@ * 鍒犻櫎鎹愮尞瑙佽瘉 */ @ApiOperation("鍒犻櫎鎹愮尞瑙佽瘉") - //@PreAuthorize("@ss.hasPermi('project:donationwitness:remove')") + //// @PreAuthorize("@ss.hasPermi('project:donationwitness:remove')") @Log(title = "鎹愮尞瑙佽瘉", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonationwitnessorganController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonationwitnessorganController.java index 0df3b16..2dcecce 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonationwitnessorganController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonationwitnessorganController.java @@ -40,7 +40,7 @@ * 鏌ヨ鎹愮尞鍣ㄥ畼鑾峰彇鍒楄〃 */ @ApiOperation("鏌ヨ鎹愮尞鍣ㄥ畼鑾峰彇鍒楄〃") -// @PreAuthorize("@ss.hasPermi('project:donationwitnessorgan:list')") +// // @PreAuthorize("@ss.hasPermi('project:donationwitnessorgan:list')") @GetMapping("/list") public TableDataInfo list(ServiceDonationwitnessorgan serviceDonationwitnessorgan) { startPage(); @@ -52,7 +52,7 @@ * 瀵煎嚭鎹愮尞鍣ㄥ畼鑾峰彇鍒楄〃 */ @ApiOperation("瀵煎嚭鎹愮尞鍣ㄥ畼鑾峰彇鍒楄〃") -// @PreAuthorize("@ss.hasPermi('project:donationwitnessorgan:export')") +// // @PreAuthorize("@ss.hasPermi('project:donationwitnessorgan:export')") @Log(title = "鎹愮尞鍣ㄥ畼鑾峰彇", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceDonationwitnessorgan serviceDonationwitnessorgan) { @@ -65,7 +65,7 @@ * 鑾峰彇鎹愮尞鍣ㄥ畼鑾峰彇璇︾粏淇℃伅 */ @ApiOperation("鑾峰彇鎹愮尞鍣ㄥ畼鑾峰彇璇︾粏淇℃伅") -// @PreAuthorize("@ss.hasPermi('project:donationwitnessorgan:query')") +// // @PreAuthorize("@ss.hasPermi('project:donationwitnessorgan:query')") @GetMapping(value = "/getInfo/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceDonationwitnessorganService.getById(id)); @@ -75,7 +75,7 @@ * 鏂板鎹愮尞鍣ㄥ畼鑾峰彇 */ @ApiOperation("鏂板鎹愮尞鍣ㄥ畼鑾峰彇") -// @PreAuthorize("@ss.hasPermi('project:donationwitnessorgan:add')") +// // @PreAuthorize("@ss.hasPermi('project:donationwitnessorgan:add')") @Log(title = "鎹愮尞鍣ㄥ畼鑾峰彇", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -88,7 +88,7 @@ * 淇敼鎹愮尞鍣ㄥ畼鑾峰彇 */ @ApiOperation("淇敼鎹愮尞鍣ㄥ畼鑾峰彇") -// @PreAuthorize("@ss.hasPermi('project:donationwitnessorgan:edit')") +// // @PreAuthorize("@ss.hasPermi('project:donationwitnessorgan:edit')") @Log(title = "鎹愮尞鍣ㄥ畼鑾峰彇", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -100,7 +100,7 @@ * 鍒犻櫎鎹愮尞鍣ㄥ畼鑾峰彇 */ @ApiOperation("鍒犻櫎鎹愮尞鍣ㄥ畼鑾峰彇") -// @PreAuthorize("@ss.hasPermi('project:donationwitnessorgan:remove')") +// // @PreAuthorize("@ss.hasPermi('project:donationwitnessorgan:remove')") @Log(title = "鎹愮尞鍣ㄥ畼鑾峰彇", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonorchargeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonorchargeController.java index 0663dd6..0d0c74c 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonorchargeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonorchargeController.java @@ -38,7 +38,7 @@ * 鏌ヨ鎹愮尞妗堜緥鍣ㄥ畼鍒楀垪琛� */ @ApiOperation("鏌ヨ鎹愮尞妗堜緥鍣ㄥ畼鍒楀垪琛�") - @PreAuthorize("@ss.hasPermi('project:donorcharge:list')") + // @PreAuthorize("@ss.hasPermi('project:donorcharge:list')") @GetMapping("/list") public TableDataInfo list(ServiceDonorcharge serviceDonorcharge) { startPage(); @@ -50,7 +50,7 @@ * 瀵煎嚭鎹愮尞妗堜緥鍣ㄥ畼鍒楀垪琛� */ @ApiOperation("瀵煎嚭鎹愮尞妗堜緥鍣ㄥ畼鍒楀垪琛�") - @PreAuthorize("@ss.hasPermi('project:donorcharge:export')") + // @PreAuthorize("@ss.hasPermi('project:donorcharge:export')") @Log(title = "鎹愮尞妗堜緥鍣ㄥ畼鍒�", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceDonorcharge serviceDonorcharge) { @@ -63,7 +63,7 @@ * 鑾峰彇鎹愮尞妗堜緥鍣ㄥ畼鍒楄缁嗕俊鎭� */ @ApiOperation("鑾峰彇鎹愮尞妗堜緥鍣ㄥ畼鍒楄缁嗕俊鎭�") - @PreAuthorize("@ss.hasPermi('project:donorcharge:query')") + // @PreAuthorize("@ss.hasPermi('project:donorcharge:query')") @GetMapping(value = "/getInfo/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceDonorchargeService.getById(id)); @@ -73,7 +73,7 @@ * 鏂板鎹愮尞妗堜緥鍣ㄥ畼鍒� */ @ApiOperation("鏂板鎹愮尞妗堜緥鍣ㄥ畼鍒�") - @PreAuthorize("@ss.hasPermi('project:donorcharge:add')") + // @PreAuthorize("@ss.hasPermi('project:donorcharge:add')") @Log(title = "鎹愮尞妗堜緥鍣ㄥ畼鍒�", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -88,7 +88,7 @@ * 淇敼鎹愮尞妗堜緥鍣ㄥ畼鍒� */ @ApiOperation("淇敼鎹愮尞妗堜緥鍣ㄥ畼鍒�") - @PreAuthorize("@ss.hasPermi('project:donorcharge:edit')") + // @PreAuthorize("@ss.hasPermi('project:donorcharge:edit')") @Log(title = "鎹愮尞妗堜緥鍣ㄥ畼鍒�", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -100,7 +100,7 @@ * 鍒犻櫎鎹愮尞妗堜緥鍣ㄥ畼鍒� */ @ApiOperation("鍒犻櫎鎹愮尞妗堜緥鍣ㄥ畼鍒�") - @PreAuthorize("@ss.hasPermi('project:donorcharge:remove')") + // @PreAuthorize("@ss.hasPermi('project:donorcharge:remove')") @Log(title = "鎹愮尞妗堜緥鍣ㄥ畼鍒�", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonorchargeorganController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonorchargeorganController.java index 540bd0b..b7655b0 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonorchargeorganController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonorchargeorganController.java @@ -47,7 +47,7 @@ * 鏌ヨ鎹愮尞鍣ㄥ畼鍒楄〃 */ @ApiOperation("鏌ヨ鎹愮尞鍣ㄥ畼鍒楄〃") -// @PreAuthorize("@ss.hasPermi('project:donorchargeorgan:list')") +// // @PreAuthorize("@ss.hasPermi('project:donorchargeorgan:list')") @GetMapping("/list") public TableDataInfo list(ServiceDonorchargeorgan serviceDonorchargeorgan) { log.info("鏌ヨ鎹愮尞鍣ㄥ畼鍒楄〃鐨勫叆鍙傦細{}", serviceDonorchargeorgan); @@ -73,7 +73,7 @@ * 瀵煎嚭鎹愮尞鍣ㄥ畼鍒楄〃 */ @ApiOperation("瀵煎嚭鎹愮尞鍣ㄥ畼鍒楄〃") -// @PreAuthorize("@ss.hasPermi('project:donorchargeorgan:export')") +// // @PreAuthorize("@ss.hasPermi('project:donorchargeorgan:export')") @Log(title = "鎹愮尞鍣ㄥ畼", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceDonorchargeorgan serviceDonorchargeorgan) { @@ -86,7 +86,7 @@ * 鑾峰彇鎹愮尞鍣ㄥ畼璇︾粏淇℃伅 */ @ApiOperation("鑾峰彇鎹愮尞鍣ㄥ畼璇︾粏淇℃伅") -// @PreAuthorize("@ss.hasPermi('project:donorchargeorgan:query')") +// // @PreAuthorize("@ss.hasPermi('project:donorchargeorgan:query')") @GetMapping(value = "/getInfo/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceDonorchargeorganService.getById(id)); @@ -96,7 +96,7 @@ * 鏂板鎹愮尞鍣ㄥ畼 */ @ApiOperation("鏂板鎹愮尞鍣ㄥ畼") -// @PreAuthorize("@ss.hasPermi('project:donorchargeorgan:add')") +// // @PreAuthorize("@ss.hasPermi('project:donorchargeorgan:add')") @Log(title = "鎹愮尞鍣ㄥ畼", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -113,7 +113,7 @@ * 淇敼鎹愮尞鍣ㄥ畼 */ @ApiOperation("淇敼鎹愮尞鍣ㄥ畼") -// @PreAuthorize("@ss.hasPermi('project:donorchargeorgan:edit')") +// // @PreAuthorize("@ss.hasPermi('project:donorchargeorgan:edit')") @Log(title = "鎹愮尞鍣ㄥ畼", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -129,7 +129,7 @@ * 鍒犻櫎鎹愮尞鍣ㄥ畼 */ @ApiOperation("鍒犻櫎鎹愮尞鍣ㄥ畼") -// @PreAuthorize("@ss.hasPermi('project:donorchargeorgan:remove')") +// // @PreAuthorize("@ss.hasPermi('project:donorchargeorgan:remove')") @Log(title = "鎹愮尞鍣ㄥ畼", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonorpaymentController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonorpaymentController.java index a0be903..1fa4a1e 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonorpaymentController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonorpaymentController.java @@ -46,7 +46,6 @@ * 鏌ヨ璐圭敤鏀舵鍗曞垪琛� */ @ApiOperation("鏌ヨ璐圭敤鏀舵鍗曞垪琛�") - @PreAuthorize("@ss.hasPermi('system:donorpayment:list')") @GetMapping("/list") public TableDataInfo list(ServiceDonorpayment serviceDonorpayment) { startPage(); @@ -58,7 +57,6 @@ * 瀵煎嚭璐圭敤鏀舵鍗曞垪琛� */ @ApiOperation("瀵煎嚭璐圭敤鏀舵鍗曞垪琛�") - @PreAuthorize("@ss.hasPermi('system:donorpayment:export')") @Log(title = "璐圭敤鏀舵鍗�", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceDonorpayment serviceDonorpayment) { @@ -71,7 +69,6 @@ * 鑾峰彇璐圭敤鏀舵鍗曡缁嗕俊鎭� */ @ApiOperation("鑾峰彇璐圭敤鏀舵鍗曡缁嗕俊鎭�") - @PreAuthorize("@ss.hasPermi('system:donorpayment:query')") @GetMapping(value = "/getInfo/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceDonorpaymentService.getById(id)); @@ -81,7 +78,6 @@ * 鏂板璐圭敤鏀舵鍗� */ @ApiOperation("鏂板璐圭敤鏀舵鍗�") - @PreAuthorize("@ss.hasPermi('system:donorpayment:add')") @Log(title = "璐圭敤鏀舵鍗�", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -94,7 +90,6 @@ * 淇敼璐圭敤鏀舵鍗� */ @ApiOperation("淇敼璐圭敤鏀舵鍗�") - @PreAuthorize("@ss.hasPermi('system:donorpayment:edit')") @Log(title = "璐圭敤鏀舵鍗�", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -106,7 +101,7 @@ * 鍒犻櫎璐圭敤鏀舵鍗� */ @ApiOperation("鍒犻櫎璐圭敤鏀舵鍗�") - @PreAuthorize("@ss.hasPermi('system:donorpayment:remove')") + // @PreAuthorize("@ss.hasPermi('system:donorpayment:remove')") @Log(title = "璐圭敤鏀舵鍗�", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceEthicalreviewopinionsController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceEthicalreviewopinionsController.java index 486783a..cf6bbe4 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceEthicalreviewopinionsController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceEthicalreviewopinionsController.java @@ -32,7 +32,7 @@ /** * 鏌ヨ浼︾悊瀹℃煡涓撳鎰忚鍒楄〃 */ - //@PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:list')") + //// @PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:list')") @GetMapping("/list") public TableDataInfo list(ServiceEthicalreviewopinions serviceEthicalreviewopinions) { startPage(); @@ -51,7 +51,7 @@ /** * 瀵煎嚭浼︾悊瀹℃煡涓撳鎰忚鍒楄〃 */ - //@PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:export')") + //// @PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:export')") @Log(title = "浼︾悊瀹℃煡涓撳鎰忚", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceEthicalreviewopinions serviceEthicalreviewopinions) { @@ -63,7 +63,7 @@ /** * 鑾峰彇浼︾悊瀹℃煡涓撳鎰忚璇︾粏淇℃伅 */ - //@PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:query')") + //// @PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceEthicalreviewopinionsService.getById(id)); @@ -72,7 +72,7 @@ /** * 鏂板浼︾悊瀹℃煡涓撳鎰忚 */ - //@PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:add')") + //// @PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:add')") @Log(title = "浼︾悊瀹℃煡涓撳鎰忚", businessType = BusinessType.INSERT) @PostMapping("/add") // @NotRepeatCommit(key = "param:arg[1]", value = 30000) @@ -84,7 +84,7 @@ /** * 淇敼浼︾悊瀹℃煡涓撳鎰忚 */ - //@PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:edit')") + //// @PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:edit')") @Log(title = "浼︾悊瀹℃煡涓撳鎰忚", businessType = BusinessType.UPDATE) @PostMapping("/edit") // @RepeatSubmit @@ -95,7 +95,7 @@ /** * 鍒犻櫎浼︾悊瀹℃煡涓撳鎰忚 */ - //@PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:remove')") + //// @PreAuthorize("@ss.hasPermi('project:ethicalreviewopinions:remove')") @Log(title = "浼︾悊瀹℃煡涓撳鎰忚", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceExternalpersonController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceExternalpersonController.java index 1c9963a..57efec3 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceExternalpersonController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceExternalpersonController.java @@ -50,7 +50,7 @@ /** * 鏌ヨ澶栧洿鍗曚綅浜哄憳鍒楄〃 */ - //@PreAuthorize("@ss.hasPermi('project:externalperson:list')") + //// @PreAuthorize("@ss.hasPermi('project:externalperson:list')") @GetMapping("/list") public TableDataInfo list(ServiceExternalperson serviceExternalperson) { logger.info("璇㈠鍥村崟浣嶄汉鍛樺垪琛ㄧ殑鍏ュ弬涓� 锛歿}", serviceExternalperson); @@ -62,7 +62,7 @@ /** * 瀵煎嚭澶栧洿鍗曚綅浜哄憳鍒楄〃 */ - //@PreAuthorize("@ss.hasPermi('project:externalperson:export')") + //// @PreAuthorize("@ss.hasPermi('project:externalperson:export')") @Log(title = "澶栧洿鍗曚綅浜哄憳", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceExternalperson serviceExternalperson) { @@ -74,7 +74,7 @@ /** * 鑾峰彇澶栧洿鍗曚綅浜哄憳璇︾粏淇℃伅 */ - //@PreAuthorize("@ss.hasPermi('project:externalperson:query')") + //// @PreAuthorize("@ss.hasPermi('project:externalperson:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceExternalpersonService.getById(id)); @@ -83,7 +83,7 @@ /** * 鏂板澶栧洿鍗曚綅浜哄憳 */ - //@PreAuthorize("@ss.hasPermi('project:externalperson:add')") + //// @PreAuthorize("@ss.hasPermi('project:externalperson:add')") @Log(title = "澶栧洿鍗曚綅浜哄憳", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -100,7 +100,7 @@ /** * 淇敼澶栧洿鍗曚綅浜哄憳 */ - //@PreAuthorize("@ss.hasPermi('project:externalperson:edit')") + //// @PreAuthorize("@ss.hasPermi('project:externalperson:edit')") @Log(title = "澶栧洿鍗曚綅浜哄憳", businessType = BusinessType.UPDATE) @PostMapping("/editZJInfo") @RepeatSubmit @@ -111,7 +111,7 @@ /** * 鍒犻櫎澶栧洿鍗曚綅浜哄憳 */ - //@PreAuthorize("@ss.hasPermi('project:externalperson:remove')") + //// @PreAuthorize("@ss.hasPermi('project:externalperson:remove')") @Log(title = "澶栧洿鍗曚綅浜哄憳", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceExternalpersonGroupController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceExternalpersonGroupController.java index fd61ed4..88a114f 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceExternalpersonGroupController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceExternalpersonGroupController.java @@ -35,7 +35,7 @@ // * 鏌ヨ浜哄憳鍜屽垎缁勭粍鍒叧鑱斿垪琛� // */ // @ApiOperation("鏌ヨ浜哄憳鍜屽垎缁勭粍鍒叧鑱斿垪琛�") -// @PreAuthorize("@ss.hasPermi('system:group:list')") +// // @PreAuthorize("@ss.hasPermi('system:group:list')") // @GetMapping("/list") // public TableDataInfo list(ServiceExternalpersonGroup serviceExternalpersonGroup) { // startPage(); @@ -61,7 +61,7 @@ * 瀵煎嚭浜哄憳鍜屽垎缁勭粍鍒叧鑱斿垪琛� */ @ApiOperation("瀵煎嚭浜哄憳鍜屽垎缁勭粍鍒叧鑱斿垪琛�") - @PreAuthorize("@ss.hasPermi('system:group:export')") + // @PreAuthorize("@ss.hasPermi('system:group:export')") @Log(title = "浜哄憳鍜屽垎缁勭粍鍒叧鑱�", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceExternalpersonGroup serviceExternalpersonGroup) { @@ -74,7 +74,7 @@ * 鑾峰彇浜哄憳鍜屽垎缁勭粍鍒叧鑱旇缁嗕俊鎭� */ @ApiOperation("鑾峰彇浜哄憳鍜屽垎缁勭粍鍒叧鑱旇缁嗕俊鎭�") - @PreAuthorize("@ss.hasPermi('system:group:query')") + // @PreAuthorize("@ss.hasPermi('system:group:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceExternalpersonGroupService.getById(id)); @@ -84,7 +84,7 @@ * 鏂板浜哄憳鍜屽垎缁勭粍鍒叧鑱� */ @ApiOperation("鏂板浜哄憳鍜屽垎缁勭粍鍒叧鑱�") - @PreAuthorize("@ss.hasPermi('system:group:add')") + // @PreAuthorize("@ss.hasPermi('system:group:add')") @Log(title = "浜哄憳鍜屽垎缁勭粍鍒叧鑱�", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -97,7 +97,7 @@ * 淇敼浜哄憳鍜屽垎缁勭粍鍒叧鑱� */ @ApiOperation("淇敼浜哄憳鍜屽垎缁勭粍鍒叧鑱�") - @PreAuthorize("@ss.hasPermi('system:group:edit')") + // @PreAuthorize("@ss.hasPermi('system:group:edit')") @Log(title = "浜哄憳鍜屽垎缁勭粍鍒叧鑱�", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -109,7 +109,7 @@ * 鍒犻櫎浜哄憳鍜屽垎缁勭粍鍒叧鑱� */ @ApiOperation("鍒犻櫎浜哄憳鍜屽垎缁勭粍鍒叧鑱�") - @PreAuthorize("@ss.hasPermi('system:group:remove')") + // @PreAuthorize("@ss.hasPermi('system:group:remove')") @Log(title = "浜哄憳鍜屽垎缁勭粍鍒叧鑱�", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundController.java index 3476b1a..6ce60a5 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundController.java @@ -102,7 +102,7 @@ * 鏌ヨ璐圭敤鐢宠涓诲垪琛� */ @ApiOperation("鏌ヨ璐圭敤鐢宠涓诲垪琛�") - //@PreAuthorize("@ss.hasPermi('project:fund:list')") + //// @PreAuthorize("@ss.hasPermi('project:fund:list')") @GetMapping("/list") public TableDataInfo list(ServiceFund serviceFund) { startPage(); @@ -196,7 +196,7 @@ } @ApiOperation("鏌ヨ璐圭敤鐢宠涓诲垪琛�") - //@PreAuthorize("@ss.hasPermi('project:fund:list')") + //// @PreAuthorize("@ss.hasPermi('project:fund:list')") @GetMapping(value = "/getInfo/{infoid}") public AjaxResult getInfoByInfoId(@PathVariable("infoid") Long infoid) { return AjaxResult.success(serviceFundService.getInfoByInfoId(infoid)); @@ -218,7 +218,7 @@ * 瀵煎嚭璐圭敤鐢宠涓诲垪琛� */ @ApiOperation("瀵煎嚭璐圭敤鐢宠涓诲垪琛�") - //@PreAuthorize("@ss.hasPermi('project:fund:export')") + //// @PreAuthorize("@ss.hasPermi('project:fund:export')") @Log(title = "璐圭敤鐢宠涓�", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceFund serviceFund) { @@ -232,7 +232,7 @@ * 鑾峰彇璐圭敤鐢宠涓昏缁嗕俊鎭� */ @ApiOperation("鑾峰彇璐圭敤鐢宠涓昏缁嗕俊鎭�") - //@PreAuthorize("@ss.hasPermi('project:fund:query')") + //// @PreAuthorize("@ss.hasPermi('project:fund:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceFundService.getById(id)); @@ -242,7 +242,7 @@ * 鏂板璐圭敤鐢宠涓� */ @ApiOperation("鏂板璐圭敤鐢宠涓�") - //@PreAuthorize("@ss.hasPermi('project:fund:add')") + //// @PreAuthorize("@ss.hasPermi('project:fund:add')") @Log(title = "璐圭敤鐢宠涓�", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -571,7 +571,7 @@ * 鍒犻櫎璐圭敤鐢宠涓� */ @ApiOperation("鍒犻櫎璐圭敤鐢宠涓�") - //@PreAuthorize("@ss.hasPermi('project:fund:remove')") + //// @PreAuthorize("@ss.hasPermi('project:fund:remove')") @Log(title = "璐圭敤鐢宠涓�", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundSharedController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundSharedController.java index 9c86e5e..359fa25 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundSharedController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundSharedController.java @@ -35,7 +35,7 @@ * 鏌ヨ璐圭敤鐢宠涓诲垪琛� */ @ApiOperation("鏌ヨ璐圭敤鐢宠涓诲垪琛�") - @PreAuthorize("@ss.hasPermi('system:shared:list')") + // @PreAuthorize("@ss.hasPermi('system:shared:list')") @GetMapping("/list") public TableDataInfo list(ServiceFundShared serviceFundShared) { startPage(); @@ -47,7 +47,7 @@ * 瀵煎嚭璐圭敤鐢宠涓诲垪琛� */ @ApiOperation("瀵煎嚭璐圭敤鐢宠涓诲垪琛�") - @PreAuthorize("@ss.hasPermi('system:shared:export')") + // @PreAuthorize("@ss.hasPermi('system:shared:export')") @Log(title = "璐圭敤鐢宠涓�", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceFundShared serviceFundShared) { @@ -60,7 +60,7 @@ * 鑾峰彇璐圭敤鐢宠涓昏缁嗕俊鎭� */ @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(serviceFundSharedService.getById(id)); @@ -70,7 +70,7 @@ * 鏂板璐圭敤鐢宠涓� */ @ApiOperation("鏂板璐圭敤鐢宠涓�") - @PreAuthorize("@ss.hasPermi('system:shared:add')") + // @PreAuthorize("@ss.hasPermi('system:shared:add')") @Log(title = "璐圭敤鐢宠涓�", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -83,7 +83,7 @@ * 淇敼璐圭敤鐢宠涓� */ @ApiOperation("淇敼璐圭敤鐢宠涓�") - @PreAuthorize("@ss.hasPermi('system:shared:edit')") + // @PreAuthorize("@ss.hasPermi('system:shared:edit')") @Log(title = "璐圭敤鐢宠涓�", businessType = BusinessType.UPDATE) @PutMapping @RepeatSubmit @@ -95,7 +95,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) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFunddetailController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFunddetailController.java index 3890e4a..d08876e 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFunddetailController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFunddetailController.java @@ -42,7 +42,7 @@ * 鏌ヨ璐圭敤鐢宠鏄庣粏鍒楄〃 */ @ApiOperation("鏌ヨ璐圭敤鐢宠鏄庣粏鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:funddetail:list')") + //// @PreAuthorize("@ss.hasPermi('project:funddetail:list')") @GetMapping("/list") public TableDataInfo list(ServiceFunddetail serviceFunddetail) { startPage(); @@ -55,7 +55,7 @@ * 瀵煎嚭璐圭敤鐢宠鏄庣粏鍒楄〃 */ @ApiOperation("瀵煎嚭璐圭敤鐢宠鏄庣粏鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:funddetail:export')") + //// @PreAuthorize("@ss.hasPermi('project:funddetail:export')") @Log(title = "璐圭敤鐢宠鏄庣粏", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceFunddetail serviceFunddetail) { @@ -68,7 +68,7 @@ * 鑾峰彇璐圭敤鐢宠鏄庣粏璇︾粏淇℃伅 */ @ApiOperation("鑾峰彇璐圭敤鐢宠鏄庣粏璇︾粏淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:funddetail:query')") + //// @PreAuthorize("@ss.hasPermi('project:funddetail:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceFunddetailService.getById(id)); @@ -78,7 +78,7 @@ * 鏂板璐圭敤鐢宠鏄庣粏 */ @ApiOperation("鏂板璐圭敤鐢宠鏄庣粏") - //@PreAuthorize("@ss.hasPermi('project:funddetail:add')") + //// @PreAuthorize("@ss.hasPermi('project:funddetail:add')") @Log(title = "璐圭敤鐢宠鏄庣粏", businessType = BusinessType.INSERT) @PostMapping("/add") @NotRepeatCommit(key = "param:arg[1]", value = 30000) @@ -91,7 +91,7 @@ * 淇敼璐圭敤鐢宠鏄庣粏 */ @ApiOperation("淇敼璐圭敤鐢宠鏄庣粏") - //@PreAuthorize("@ss.hasPermi('project:funddetail:edit')") + //// @PreAuthorize("@ss.hasPermi('project:funddetail:edit')") @Log(title = "璐圭敤鐢宠鏄庣粏", businessType = BusinessType.UPDATE) @PostMapping("/edit") @NotRepeatCommit(key = "param:arg[1]", value = 30000) @@ -104,7 +104,7 @@ * 鍒犻櫎璐圭敤鐢宠鏄庣粏 */ @ApiOperation("鍒犻櫎璐圭敤鐢宠鏄庣粏") - //@PreAuthorize("@ss.hasPermi('project:funddetail:remove')") + //// @PreAuthorize("@ss.hasPermi('project:funddetail:remove')") @Log(title = "璐圭敤鐢宠鏄庣粏", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFunddetailSharedController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFunddetailSharedController.java index 95a4bce..85c8792 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFunddetailSharedController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFunddetailSharedController.java @@ -42,7 +42,7 @@ * 鏌ヨ璐圭敤鐢宠鏄庣粏鍒楄〃 */ @ApiOperation("鏌ヨ璐圭敤鐢宠鏄庣粏鍒楄〃") - @PreAuthorize("@ss.hasPermi('project:funddetailshared:list')") + // @PreAuthorize("@ss.hasPermi('project:funddetailshared:list')") @GetMapping("/list") public TableDataInfo list(ServiceFunddetailShared serviceFunddetailShared) { @@ -55,7 +55,7 @@ * 瀵煎嚭璐圭敤鐢宠鏄庣粏鍒楄〃 */ @ApiOperation("瀵煎嚭璐圭敤鐢宠鏄庣粏鍒楄〃") - @PreAuthorize("@ss.hasPermi('project:funddetailshared:export')") + // @PreAuthorize("@ss.hasPermi('project:funddetailshared:export')") @Log(title = "璐圭敤鐢宠鏄庣粏", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceFunddetailShared serviceFunddetailShared) @@ -69,7 +69,7 @@ * 鑾峰彇璐圭敤鐢宠鏄庣粏璇︾粏淇℃伅 */ @ApiOperation("鑾峰彇璐圭敤鐢宠鏄庣粏璇︾粏淇℃伅") - @PreAuthorize("@ss.hasPermi('project:funddetailshared:query')") + // @PreAuthorize("@ss.hasPermi('project:funddetailshared:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { @@ -80,7 +80,7 @@ * 鏂板璐圭敤鐢宠鏄庣粏 */ @ApiOperation("鏂板璐圭敤鐢宠鏄庣粏") - @PreAuthorize("@ss.hasPermi('project:funddetailshared:add')") + // @PreAuthorize("@ss.hasPermi('project:funddetailshared:add')") @Log(title = "璐圭敤鐢宠鏄庣粏", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -94,7 +94,7 @@ * 淇敼璐圭敤鐢宠鏄庣粏 */ @ApiOperation("淇敼璐圭敤鐢宠鏄庣粏") - @PreAuthorize("@ss.hasPermi('project:funddetailshared:edit')") + // @PreAuthorize("@ss.hasPermi('project:funddetailshared:edit')") @Log(title = "璐圭敤鐢宠鏄庣粏", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -107,7 +107,7 @@ * 鍒犻櫎璐圭敤鐢宠鏄庣粏 */ @ApiOperation("鍒犻櫎璐圭敤鐢宠鏄庣粏") - @PreAuthorize("@ss.hasPermi('project:funddetailshared:remove')") + // @PreAuthorize("@ss.hasPermi('project:funddetailshared:remove')") @Log(title = "璐圭敤鐢宠鏄庣粏", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundtaxController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundtaxController.java index c11b8ad..057affa 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundtaxController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundtaxController.java @@ -57,7 +57,7 @@ // * 瀵煎嚭涓撳璐圭敤绠楃◣鐢宠涓诲垪琛� // */ // @ApiOperation("瀵煎嚭涓撳璐圭敤绠楃◣鐢宠涓诲垪琛�") -// @PreAuthorize("@ss.hasPermi('system:fundtax:export')") +// // @PreAuthorize("@ss.hasPermi('system:fundtax:export')") // @Log(title = "涓撳璐圭敤绠楃◣鐢宠涓�", businessType = BusinessType.EXPORT) // @GetMapping("/export") // public AjaxResult export(ServiceFundtax serviceFundtax) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceMedicalevaluationController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceMedicalevaluationController.java index f31a7db..ea11f0a 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceMedicalevaluationController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceMedicalevaluationController.java @@ -45,7 +45,7 @@ * 鏌ヨ鍖诲璇勪及鍒楄〃 */ @ApiOperation("鑾峰彇鍖荤枟璇勪及鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:medicalevaluation:list')") + //// @PreAuthorize("@ss.hasPermi('project:medicalevaluation:list')") @GetMapping("/list") public TableDataInfo list(ServiceMedicalevaluation serviceMedicalevaluation) { startPage(); @@ -65,7 +65,7 @@ * 瀵煎嚭鍖诲璇勪及鍒楄〃 */ @ApiOperation("瀵煎嚭鍖荤枟璇勪及鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:medicalevaluation:export')") + //// @PreAuthorize("@ss.hasPermi('project:medicalevaluation:export')") @Log(title = "鍖诲璇勪及", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceMedicalevaluation serviceMedicalevaluation) { @@ -78,7 +78,7 @@ * 鑾峰彇鍖诲璇勪及璇︾粏淇℃伅 */ @ApiOperation("閫氳繃id鑾峰彇鍖荤枟璇勪及淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:medicalevaluation:query')") + //// @PreAuthorize("@ss.hasPermi('project:medicalevaluation:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceMedicalevaluationService.getById(id)); @@ -88,7 +88,7 @@ * 鏂板鍖诲璇勪及 */ @ApiOperation("鏂板鍖诲璇勪及") - //@PreAuthorize("@ss.hasPermi('project:medicalevaluation:add')") + //// @PreAuthorize("@ss.hasPermi('project:medicalevaluation:add')") @Log(title = "鍖诲璇勪及", businessType = BusinessType.INSERT) @PostMapping("/add") // @NotRepeatCommit(key = "param:arg[1]", value = 30000) @@ -101,7 +101,7 @@ * 淇敼鍖诲璇勪及 */ @ApiOperation("淇敼鍖诲璇勪及") - //@PreAuthorize("@ss.hasPermi('project:medicalevaluation:edit')") + //// @PreAuthorize("@ss.hasPermi('project:medicalevaluation:edit')") @Log(title = "鍖诲璇勪及", businessType = BusinessType.UPDATE) @PostMapping("/edit") // @NotRepeatCommit(key = "param:arg[1]", value = 30000) @@ -118,7 +118,7 @@ * 鍒犻櫎鍖诲璇勪及 */ @ApiOperation("鍒犻櫎鍖诲璇勪及") - //@PreAuthorize("@ss.hasPermi('project:medicalevaluation:remove')") + //// @PreAuthorize("@ss.hasPermi('project:medicalevaluation:remove')") @Log(title = "鍖诲璇勪及", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceOrganallocationController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceOrganallocationController.java index 24d25be..2cf1e31 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceOrganallocationController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceOrganallocationController.java @@ -37,7 +37,7 @@ * 鏌ヨ鍣ㄥ畼鍒嗛厤鍒楄〃 */ @ApiOperation("鍣ㄥ畼鍒嗛厤淇℃伅鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:organallocation:list')") + //// @PreAuthorize("@ss.hasPermi('project:organallocation:list')") @GetMapping("/list") public TableDataInfo list(ServiceOrganallocation serviceOrganallocation) { startPage(); @@ -50,7 +50,7 @@ * 瀵煎嚭鍣ㄥ畼鍒嗛厤鍒楄〃 */ @ApiOperation("瀵煎嚭鍣ㄥ畼鍒嗛厤淇℃伅鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:organallocation:export')") + //// @PreAuthorize("@ss.hasPermi('project:organallocation:export')") @Log(title = "鍣ㄥ畼鍒嗛厤", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceOrganallocation serviceOrganallocation) { @@ -63,7 +63,7 @@ * 鑾峰彇鍣ㄥ畼鍒嗛厤璇︾粏淇℃伅 */ @ApiOperation("閫氳繃id鑾峰彇鍣ㄥ畼鍒嗛厤淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:organallocation:query')") + //// @PreAuthorize("@ss.hasPermi('project:organallocation:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceOrganallocationService.getById(id)); @@ -73,7 +73,7 @@ * 鏂板鍣ㄥ畼鍒嗛厤 */ @ApiOperation("鏂板鍣ㄥ畼鍒嗛厤淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:organallocation:add')") + //// @PreAuthorize("@ss.hasPermi('project:organallocation:add')") @Log(title = "鍣ㄥ畼鍒嗛厤", businessType = BusinessType.INSERT) @PostMapping @NotRepeatCommit(key = "param:arg[1]", value = 30000) @@ -97,7 +97,7 @@ * 淇敼鍣ㄥ畼鍒嗛厤 */ @ApiOperation("淇敼鍣ㄥ畼鍒嗛厤淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:organallocation:edit')") + //// @PreAuthorize("@ss.hasPermi('project:organallocation:edit')") @Log(title = "鍣ㄥ畼鍒嗛厤", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -109,7 +109,7 @@ * 淇敼鍣ㄥ畼鍒嗛厤 */ @ApiOperation("淇敼鍣ㄥ畼鍒嗛厤淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:organallocation:edit')") + //// @PreAuthorize("@ss.hasPermi('project:organallocation:edit')") @Log(title = "鍣ㄥ畼鍒嗛厤", businessType = BusinessType.UPDATE) @PostMapping("/editarraydata") @RepeatSubmit @@ -121,7 +121,7 @@ * 鍒犻櫎鍣ㄥ畼鍒嗛厤 */ @ApiOperation("鍒犻櫎鍣ㄥ畼鍒嗛厤淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:organallocation:remove')") + //// @PreAuthorize("@ss.hasPermi('project:organallocation:remove')") @Log(title = "鍣ㄥ畼鍒嗛厤", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementController.java index 49727dd..29f7279 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementController.java @@ -104,7 +104,7 @@ * 鏌ヨ鎶ラ攢鐢宠鍒楄〃 */ @ApiOperation("鏌ヨ鎶ラ攢鐢宠鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:reimbursement:list')") + //// @PreAuthorize("@ss.hasPermi('project:reimbursement:list')") @Log(title = "鏌ヨ鎶ラ攢鐢宠鍒楄〃", businessType = BusinessType.OTHER) @GetMapping("/list") public TableDataInfo list(ServiceReimbursement serviceReimbursement) { @@ -190,7 +190,7 @@ * 瀵煎嚭鎶ラ攢鐢宠鍒楄〃 */ @ApiOperation("瀵煎嚭鎶ラ攢鐢宠鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:reimbursement:export')") + //// @PreAuthorize("@ss.hasPermi('project:reimbursement:export')") @Log(title = "鎶ラ攢鐢宠", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceReimbursement serviceReimbursement) { @@ -203,7 +203,7 @@ * 鑾峰彇鎶ラ攢鐢宠璇︾粏淇℃伅 */ @ApiOperation("鑾峰彇鎶ラ攢鐢宠璇︾粏淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:reimbursement:query')") + //// @PreAuthorize("@ss.hasPermi('project:reimbursement:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceReimbursementService.getById(id)); @@ -223,7 +223,7 @@ * 鏂板鎶ラ攢鐢宠 */ @ApiOperation("鏂板鎶ラ攢鐢宠") - //@PreAuthorize("@ss.hasPermi('project:reimbursement:add')") + //// @PreAuthorize("@ss.hasPermi('project:reimbursement:add')") @Log(title = "鎶ラ攢鐢宠", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -539,7 +539,7 @@ * 淇敼鎶ラ攢鐢宠 */ @ApiOperation("淇敼鎶ラ攢鐢宠") - //@PreAuthorize("@ss.hasPermi('project:reimbursement:edit')") + //// @PreAuthorize("@ss.hasPermi('project:reimbursement:edit')") @Log(title = "鎶ラ攢鐢宠", businessType = BusinessType.UPDATE) @PostMapping("/reimbursementEdit") @RepeatSubmit @@ -555,7 +555,7 @@ * 淇敼鎶ラ攢鐢宠 */ @ApiOperation("淇敼鎶ラ攢鐢宠") - //@PreAuthorize("@ss.hasPermi('project:reimbursement:edit')") + //// @PreAuthorize("@ss.hasPermi('project:reimbursement:edit')") @Log(title = "瀹℃牳璐圭敤", businessType = BusinessType.OTHER) @PostMapping("/editMoney") public AjaxResult editMoney(@RequestBody List<ReimbursementService> serviceReimbursement) { @@ -570,7 +570,7 @@ * 鍒犻櫎鎶ラ攢鐢宠 */ @ApiOperation("鍒犻櫎鎶ラ攢鐢宠") - //@PreAuthorize("@ss.hasPermi('project:reimbursement:remove')") + //// @PreAuthorize("@ss.hasPermi('project:reimbursement:remove')") @Log(title = "鎶ラ攢鐢宠") @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { 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 18c8ba9..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,7 +63,7 @@ * 鑾峰彇鎶ラ攢鐢宠璇︾粏淇℃伅 */ @ApiOperation("鑾峰彇鎶ラ攢鐢宠璇︾粏淇℃伅") - //@PreAuthorize("@ss.hasPermi('system:shared:query')") + //// @PreAuthorize("@ss.hasPermi('system:shared:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { @@ -74,7 +74,7 @@ // * 鏂板鎶ラ攢鐢宠 // */ // @ApiOperation("鏂板鎶ラ攢鐢宠") -// //@PreAuthorize("@ss.hasPermi('system:shared:add')") +// //// @PreAuthorize("@ss.hasPermi('system:shared:add')") // @Log(title = "鎶ラ攢鐢宠", businessType = BusinessType.INSERT) // @PostMapping // @RepeatSubmit @@ -87,7 +87,7 @@ * 淇敼鎶ラ攢鐢宠 */ @ApiOperation("淇敼鎶ラ攢鐢宠") - //@PreAuthorize("@ss.hasPermi('system:shared:edit')") + //// @PreAuthorize("@ss.hasPermi('system:shared:edit')") @Log(title = "鎶ラ攢鐢宠", businessType = BusinessType.UPDATE) @PutMapping @RepeatSubmit @@ -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) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementdetailController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementdetailController.java index f966dea..ca09670 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementdetailController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementdetailController.java @@ -52,7 +52,7 @@ * 鏌ヨ鎶ラ攢鐢宠鏄庣粏鍒楄〃 */ @ApiOperation("鏌ヨ鎶ラ攢鐢宠鏄庣粏鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:reimbursementdetail:list')") + //// @PreAuthorize("@ss.hasPermi('project:reimbursementdetail:list')") @GetMapping("/list") public TableDataInfo list(ServiceReimbursementdetail serviceReimbursementdetail) { startPage(); @@ -65,7 +65,7 @@ * 瀵煎嚭鎶ラ攢鐢宠鏄庣粏鍒楄〃 */ @ApiOperation("瀵煎嚭鎶ラ攢鐢宠鏄庣粏鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:reimbursementdetail:export')") + //// @PreAuthorize("@ss.hasPermi('project:reimbursementdetail:export')") @Log(title = "鎶ラ攢鐢宠鏄庣粏", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceReimbursementdetail serviceReimbursementdetail) { @@ -87,7 +87,7 @@ * 鑾峰彇鎶ラ攢鐢宠鏄庣粏璇︾粏淇℃伅 */ @ApiOperation("鑾峰彇鎶ラ攢鐢宠鏄庣粏璇︾粏淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:reimbursementdetail:query')") + //// @PreAuthorize("@ss.hasPermi('project:reimbursementdetail:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceReimbursementdetailService.getById(id)); @@ -97,7 +97,7 @@ * 鏂板鎶ラ攢鐢宠鏄庣粏 */ @ApiOperation("鏂板鎶ラ攢鐢宠鏄庣粏") - //@PreAuthorize("@ss.hasPermi('project:reimbursementdetail:add')") + //// @PreAuthorize("@ss.hasPermi('project:reimbursementdetail:add')") @Log(title = "鎶ラ攢鐢宠鏄庣粏", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -118,7 +118,7 @@ * 淇敼鎶ラ攢鐢宠鏄庣粏 */ @ApiOperation("淇敼鎶ラ攢鐢宠鏄庣粏") - //@PreAuthorize("@ss.hasPermi('project:reimbursementdetail:edit')") + //// @PreAuthorize("@ss.hasPermi('project:reimbursementdetail:edit')") @Log(title = "淇敼鐢宠鏄庣粏", businessType = BusinessType.UPDATE) @PostMapping("/updateRDlList") public AjaxResult updateRDlList(@RequestBody List<ServiceReimbursementdetail> serviceReimbursementdetails) { @@ -133,7 +133,7 @@ * 淇敼鎶ラ攢鐢宠鏄庣粏 */ @ApiOperation("淇敼鎶ラ攢鐢宠鏄庣粏") - //@PreAuthorize("@ss.hasPermi('project:reimbursementdetail:edit')") + //// @PreAuthorize("@ss.hasPermi('project:reimbursementdetail:edit')") @Log(title = "鎶ラ攢鐢宠鏄庣粏", businessType = BusinessType.UPDATE) @PostMapping("/reimbursementdetailEdit") //@RepeatSubmit @@ -179,7 +179,7 @@ * 鍒犻櫎鎶ラ攢鐢宠鏄庣粏 */ @ApiOperation("鍒犻櫎鎶ラ攢鐢宠鏄庣粏") - //@PreAuthorize("@ss.hasPermi('project:reimbursementdetail:remove')") + //// @PreAuthorize("@ss.hasPermi('project:reimbursementdetail:remove')") @Log(title = "鎶ラ攢鐢宠鏄庣粏", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementdetailSharedController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementdetailSharedController.java index d5434c0..6947aad 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementdetailSharedController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementdetailSharedController.java @@ -42,7 +42,7 @@ * 鏌ヨ鎶ラ攢鐢宠鏄庣粏鍒楄〃 */ @ApiOperation("鏌ヨ鎶ラ攢鐢宠鏄庣粏鍒楄〃") - @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:list')") + // @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:list')") @GetMapping("/list") public TableDataInfo list(ServiceReimbursementdetailShared serviceReimbursementdetailShared) { @@ -55,7 +55,7 @@ * 瀵煎嚭鎶ラ攢鐢宠鏄庣粏鍒楄〃 */ @ApiOperation("瀵煎嚭鎶ラ攢鐢宠鏄庣粏鍒楄〃") - @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:export')") + // @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:export')") @Log(title = "鎶ラ攢鐢宠鏄庣粏", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceReimbursementdetailShared serviceReimbursementdetailShared) @@ -69,7 +69,7 @@ * 鑾峰彇鎶ラ攢鐢宠鏄庣粏璇︾粏淇℃伅 */ @ApiOperation("鑾峰彇鎶ラ攢鐢宠鏄庣粏璇︾粏淇℃伅") - @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:query')") + // @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { @@ -80,7 +80,7 @@ * 鏂板鎶ラ攢鐢宠鏄庣粏 */ @ApiOperation("鏂板鎶ラ攢鐢宠鏄庣粏") - @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:add')") + // @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:add')") @Log(title = "鎶ラ攢鐢宠鏄庣粏", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -94,7 +94,7 @@ * 淇敼鎶ラ攢鐢宠鏄庣粏 */ @ApiOperation("淇敼鎶ラ攢鐢宠鏄庣粏") - @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:edit')") + // @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:edit')") @Log(title = "鎶ラ攢鐢宠鏄庣粏", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -107,7 +107,7 @@ * 鍒犻櫎鎶ラ攢鐢宠鏄庣粏 */ @ApiOperation("鍒犻櫎鎶ラ攢鐢宠鏄庣粏") - @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:remove')") + // @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:remove')") @Log(title = "鎶ラ攢鐢宠鏄庣粏", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementpayeeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementpayeeController.java index f275cf0..8b71d1f 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementpayeeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementpayeeController.java @@ -34,7 +34,7 @@ * 鏌ヨ宸梾鎶ラ攢浠樻淇℃伅鍒楄〃 */ @ApiOperation("鏌ヨ宸梾鎶ラ攢浠樻淇℃伅鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:reimbursementpayee:list')") + //// @PreAuthorize("@ss.hasPermi('project:reimbursementpayee:list')") @PostMapping("/list") public TableDataInfo list(@RequestBody ServiceReimbursementpayee serviceReimbursementpayee) { startPage(); @@ -46,7 +46,7 @@ * 瀵煎嚭宸梾鎶ラ攢浠樻淇℃伅鍒楄〃 */ @ApiOperation("瀵煎嚭宸梾鎶ラ攢浠樻淇℃伅鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:reimbursementpayee:export')") + //// @PreAuthorize("@ss.hasPermi('project:reimbursementpayee:export')") @Log(title = "宸梾鎶ラ攢浠樻淇℃伅", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceReimbursementpayee serviceReimbursementpayee) { @@ -59,7 +59,7 @@ * 鑾峰彇宸梾鎶ラ攢浠樻淇℃伅璇︾粏淇℃伅 */ @ApiOperation("鑾峰彇宸梾鎶ラ攢浠樻淇℃伅璇︾粏淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:reimbursementpayee:query')") + //// @PreAuthorize("@ss.hasPermi('project:reimbursementpayee:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") String id) { return AjaxResult.success(serviceReimbursementpayeeService.getById(id)); @@ -69,7 +69,7 @@ * 鏂板宸梾鎶ラ攢浠樻淇℃伅 */ @ApiOperation("鏂板宸梾鎶ラ攢浠樻淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:reimbursementpayee:add')") + //// @PreAuthorize("@ss.hasPermi('project:reimbursementpayee:add')") @Log(title = "宸梾鎶ラ攢浠樻淇℃伅", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -82,7 +82,7 @@ * 淇敼宸梾鎶ラ攢浠樻淇℃伅 */ @ApiOperation("淇敼宸梾鎶ラ攢浠樻淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:reimbursementpayee:edit')") + //// @PreAuthorize("@ss.hasPermi('project:reimbursementpayee:edit')") @Log(title = "宸梾鎶ラ攢浠樻淇℃伅", businessType = BusinessType.UPDATE) @PostMapping("/reimbursementpayeeEdit") @RepeatSubmit @@ -94,7 +94,7 @@ * 鍒犻櫎宸梾鎶ラ攢浠樻淇℃伅 */ @ApiOperation("鍒犻櫎宸梾鎶ラ攢浠樻淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:reimbursementpayee:remove')") + //// @PreAuthorize("@ss.hasPermi('project:reimbursementpayee:remove')") @Log(title = "宸梾鎶ラ攢浠樻淇℃伅", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable String[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementpayeeSharedController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementpayeeSharedController.java index f3b5ef7..b9e03e6 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementpayeeSharedController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementpayeeSharedController.java @@ -42,7 +42,7 @@ * 鏌ヨ宸梾鎶ラ攢浠樻淇℃伅鍒楄〃 */ @ApiOperation("鏌ヨ宸梾鎶ラ攢浠樻淇℃伅鍒楄〃") - @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:list')") + // @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:list')") @GetMapping("/list") public TableDataInfo list(ServiceReimbursementpayeeShared serviceReimbursementpayeeShared) { @@ -55,7 +55,7 @@ * 瀵煎嚭宸梾鎶ラ攢浠樻淇℃伅鍒楄〃 */ @ApiOperation("瀵煎嚭宸梾鎶ラ攢浠樻淇℃伅鍒楄〃") - @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:export')") + // @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:export')") @Log(title = "宸梾鎶ラ攢浠樻淇℃伅", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceReimbursementpayeeShared serviceReimbursementpayeeShared) @@ -69,7 +69,7 @@ * 鑾峰彇宸梾鎶ラ攢浠樻淇℃伅璇︾粏淇℃伅 */ @ApiOperation("鑾峰彇宸梾鎶ラ攢浠樻淇℃伅璇︾粏淇℃伅") - @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:query')") + // @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { @@ -80,7 +80,7 @@ * 鏂板宸梾鎶ラ攢浠樻淇℃伅 */ @ApiOperation("鏂板宸梾鎶ラ攢浠樻淇℃伅") - @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:add')") + // @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:add')") @Log(title = "宸梾鎶ラ攢浠樻淇℃伅", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -94,7 +94,7 @@ * 淇敼宸梾鎶ラ攢浠樻淇℃伅 */ @ApiOperation("淇敼宸梾鎶ラ攢浠樻淇℃伅") - @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:edit')") + // @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:edit')") @Log(title = "宸梾鎶ラ攢浠樻淇℃伅", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -107,7 +107,7 @@ * 鍒犻櫎宸梾鎶ラ攢浠樻淇℃伅 */ @ApiOperation("鍒犻櫎宸梾鎶ラ攢浠樻淇℃伅") - @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:remove')") + // @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:remove')") @Log(title = "宸梾鎶ラ攢浠樻淇℃伅", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceRelativesconfirmationController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceRelativesconfirmationController.java index 38b065a..9b321ae 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceRelativesconfirmationController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceRelativesconfirmationController.java @@ -71,7 +71,7 @@ * 鏌ヨ鎹愮尞浜插睘纭鍒楄〃 */ @ApiOperation("鑾峰彇浜插睘纭鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:relativesconfirmation:list')") + //// @PreAuthorize("@ss.hasPermi('project:relativesconfirmation:list')") @GetMapping("/list") public TableDataInfo list(ServiceRelativesconfirmation serviceRelativesconfirmation) { startPage(); @@ -91,7 +91,7 @@ * 瀵煎嚭鎹愮尞浜插睘纭鍒楄〃 */ @ApiOperation("瀵煎嚭浜插睘纭鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:relativesconfirmation:export')") + //// @PreAuthorize("@ss.hasPermi('project:relativesconfirmation:export')") @Log(title = "鎹愮尞浜插睘纭", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceRelativesconfirmation serviceRelativesconfirmation) { @@ -104,7 +104,7 @@ * 鑾峰彇鎹愮尞浜插睘纭璇︾粏淇℃伅 */ @ApiOperation("閫氳繃id鑾峰彇浜插睘纭淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:relativesconfirmation:query')") + //// @PreAuthorize("@ss.hasPermi('project:relativesconfirmation:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceRelativesconfirmationService.getById(id)); @@ -114,7 +114,7 @@ * 鏂板鎹愮尞浜插睘纭 */ @ApiOperation("鏂板浜插睘纭") - //@PreAuthorize("@ss.hasPermi('project:relativesconfirmation:add')") + //// @PreAuthorize("@ss.hasPermi('project:relativesconfirmation:add')") @Log(title = "鎹愮尞浜插睘纭", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -127,7 +127,7 @@ * 淇敼鎹愮尞浜插睘纭 */ @ApiOperation("淇敼浜插睘纭") - //@PreAuthorize("@ss.hasPermi('project:relativesconfirmation:edit')") + //// @PreAuthorize("@ss.hasPermi('project:relativesconfirmation:edit')") @Log(title = "鎹愮尞浜插睘纭", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -149,7 +149,7 @@ * 鍒犻櫎鎹愮尞浜插睘纭 */ @ApiOperation("鍒犻櫎浜插睘纭") - //@PreAuthorize("@ss.hasPermi('project:relativesconfirmation:remove')") + //// @PreAuthorize("@ss.hasPermi('project:relativesconfirmation:remove')") @Log(title = "鎹愮尞浜插睘纭", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceSystemmessageController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceSystemmessageController.java index b43ffe4..8677146 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceSystemmessageController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceSystemmessageController.java @@ -73,7 +73,7 @@ * 瀵煎嚭绯荤粺娑堟伅鍒楄〃 */ @ApiOperation("瀵煎嚭绯荤粺娑堟伅鍒楄〃") - @PreAuthorize("@ss.hasPermi('project:systemmessage:export')") + // @PreAuthorize("@ss.hasPermi('project:systemmessage:export')") @Log(title = "绯荤粺娑堟伅", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceSystemmessage serviceSystemmessage) { @@ -95,7 +95,7 @@ * 鏂板绯荤粺娑堟伅 */ @ApiOperation("鏂板绯荤粺娑堟伅") - @PreAuthorize("@ss.hasPermi('project:systemmessage:add')") + // @PreAuthorize("@ss.hasPermi('project:systemmessage:add')") @Log(title = "绯荤粺娑堟伅", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -119,7 +119,7 @@ * 鍒犻櫎绯荤粺娑堟伅 */ @ApiOperation("鍒犻櫎绯荤粺娑堟伅") - @PreAuthorize("@ss.hasPermi('project:systemmessage:remove')") + // @PreAuthorize("@ss.hasPermi('project:systemmessage:remove')") @Log(title = "绯荤粺娑堟伅", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/VExpertfeeExpertController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/VExpertfeeExpertController.java index e954185..29e533a 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/VExpertfeeExpertController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/VExpertfeeExpertController.java @@ -36,7 +36,7 @@ * 鏌ヨVIEW鍒楄〃 */ @ApiOperation("鏌ヨVIEW鍒楄〃") - @PreAuthorize("@ss.hasPermi('system:expert:list')") + // @PreAuthorize("@ss.hasPermi('system:expert:list')") @GetMapping("/list") public TableDataInfo list(VExpertfeeExpert vExpertfeeExpert) { @@ -49,7 +49,7 @@ * 瀵煎嚭VIEW鍒楄〃 */ @ApiOperation("瀵煎嚭VIEW鍒楄〃") - @PreAuthorize("@ss.hasPermi('system:expert:export')") + // @PreAuthorize("@ss.hasPermi('system:expert:export')") @Log(title = "VIEW", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(VExpertfeeExpert vExpertfeeExpert) @@ -63,7 +63,7 @@ * 鑾峰彇VIEW璇︾粏淇℃伅 */ @ApiOperation("鑾峰彇VIEW璇︾粏淇℃伅") - @PreAuthorize("@ss.hasPermi('system:expert:query')") + // @PreAuthorize("@ss.hasPermi('system:expert:query')") @GetMapping(value = "/{fundTaxId}") public AjaxResult getInfo(@PathVariable("fundTaxId") Long fundTaxId) { @@ -74,7 +74,7 @@ * 鏂板VIEW */ @ApiOperation("鏂板VIEW") - @PreAuthorize("@ss.hasPermi('system:expert:add')") + // @PreAuthorize("@ss.hasPermi('system:expert:add')") @Log(title = "VIEW", businessType = BusinessType.INSERT) @PostMapping @RepeatSubmit @@ -87,7 +87,7 @@ * 淇敼VIEW */ @ApiOperation("淇敼VIEW") - @PreAuthorize("@ss.hasPermi('system:expert:edit')") + // @PreAuthorize("@ss.hasPermi('system:expert:edit')") @Log(title = "VIEW", businessType = BusinessType.UPDATE) @PutMapping @RepeatSubmit @@ -100,7 +100,7 @@ * 鍒犻櫎VIEW */ @ApiOperation("鍒犻櫎VIEW") - @PreAuthorize("@ss.hasPermi('system:expert:remove')") + // @PreAuthorize("@ss.hasPermi('system:expert:remove')") @Log(title = "VIEW", businessType = BusinessType.DELETE) @DeleteMapping("/{fundTaxIds}") public AjaxResult remove(@PathVariable Long[] fundTaxIds) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/VExpertfeeTotalController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/VExpertfeeTotalController.java index 49c9629..cabdfe4 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/VExpertfeeTotalController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/VExpertfeeTotalController.java @@ -36,7 +36,7 @@ * 鏌ヨVIEW鍒楄〃 */ @ApiOperation("鏌ヨVIEW鍒楄〃") - @PreAuthorize("@ss.hasPermi('system:total:list')") + // @PreAuthorize("@ss.hasPermi('system:total:list')") @GetMapping("/list") public TableDataInfo list(VExpertfeeTotal vExpertfeeTotal) { @@ -49,7 +49,7 @@ * 瀵煎嚭VIEW鍒楄〃 */ @ApiOperation("瀵煎嚭VIEW鍒楄〃") - @PreAuthorize("@ss.hasPermi('system:total:export')") + // @PreAuthorize("@ss.hasPermi('system:total:export')") @Log(title = "VIEW", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(VExpertfeeTotal vExpertfeeTotal) @@ -63,7 +63,7 @@ * 鑾峰彇VIEW璇︾粏淇℃伅 */ @ApiOperation("鑾峰彇VIEW璇︾粏淇℃伅") - @PreAuthorize("@ss.hasPermi('system:total:query')") + // @PreAuthorize("@ss.hasPermi('system:total:query')") @GetMapping(value = "/{fundTaxId}") public AjaxResult getInfo(@PathVariable("fundTaxId") Long fundTaxId) { @@ -74,7 +74,7 @@ * 鏂板VIEW */ @ApiOperation("鏂板VIEW") - @PreAuthorize("@ss.hasPermi('system:total:add')") + // @PreAuthorize("@ss.hasPermi('system:total:add')") @Log(title = "VIEW", businessType = BusinessType.INSERT) @PostMapping @RepeatSubmit @@ -87,7 +87,7 @@ * 淇敼VIEW */ @ApiOperation("淇敼VIEW") - @PreAuthorize("@ss.hasPermi('system:total:edit')") + // @PreAuthorize("@ss.hasPermi('system:total:edit')") @Log(title = "VIEW", businessType = BusinessType.UPDATE) @PutMapping @RepeatSubmit @@ -100,7 +100,7 @@ * 鍒犻櫎VIEW */ @ApiOperation("鍒犻櫎VIEW") - @PreAuthorize("@ss.hasPermi('system:total:remove')") + // @PreAuthorize("@ss.hasPermi('system:total:remove')") @Log(title = "VIEW", businessType = BusinessType.DELETE) @DeleteMapping("/{fundTaxIds}") public AjaxResult remove(@PathVariable Long[] fundTaxIds) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/VServiceDonateorganRegisterController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/VServiceDonateorganRegisterController.java index b048917..d1c91fc 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/VServiceDonateorganRegisterController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/VServiceDonateorganRegisterController.java @@ -43,7 +43,7 @@ * 鏌ヨ鍣ㄥ畼淇℃伅鐧昏鏂板垪琛� */ @ApiOperation("鑾峰彇鍣ㄥ畼鐧昏鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:register:list')") + //// @PreAuthorize("@ss.hasPermi('project:register:list')") @GetMapping("/list") public TableDataInfo list(VServiceDonateorganRegister vServiceDonateorganRegister) { @@ -56,7 +56,7 @@ * 瀵煎嚭鍣ㄥ畼淇℃伅鐧昏鏂板垪琛� */ @ApiOperation("瀵煎嚭鍣ㄥ畼鐧昏鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:register:export')") + //// @PreAuthorize("@ss.hasPermi('project:register:export')") @Log(title = "鍣ㄥ畼淇℃伅鐧昏鏂�", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(VServiceDonateorganRegister vServiceDonateorganRegister) @@ -70,7 +70,7 @@ * 鑾峰彇鍣ㄥ畼淇℃伅鐧昏鏂拌缁嗕俊鎭� */ @ApiOperation("閫氳繃id鑾峰彇鍣ㄥ畼鐧昏淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:register:query')") + //// @PreAuthorize("@ss.hasPermi('project:register:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { @@ -81,7 +81,7 @@ * 鏂板鍣ㄥ畼淇℃伅鐧昏鏂� */ @ApiOperation("鏂板鍣ㄥ畼鐧昏") - //@PreAuthorize("@ss.hasPermi('project:register:add')") + //// @PreAuthorize("@ss.hasPermi('project:register:add')") @Log(title = "鍣ㄥ畼淇℃伅鐧昏鏂�", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -95,7 +95,7 @@ * 淇敼鍣ㄥ畼淇℃伅鐧昏鏂� */ @ApiOperation("淇敼鍣ㄥ畼鐧昏") - //@PreAuthorize("@ss.hasPermi('project:register:edit')") + //// @PreAuthorize("@ss.hasPermi('project:register:edit')") @Log(title = "鍣ㄥ畼淇℃伅鐧昏鏂�", businessType = BusinessType.UPDATE) @PutMapping @RepeatSubmit @@ -108,7 +108,7 @@ * 鍒犻櫎鍣ㄥ畼淇℃伅鐧昏鏂� */ @ApiOperation("鍒犻櫎鍣ㄥ畼鐧昏") - //@PreAuthorize("@ss.hasPermi('project:register:remove')") + //// @PreAuthorize("@ss.hasPermi('project:register:remove')") @Log(title = "鍣ㄥ畼淇℃伅鐧昏鏂�", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable Long[] ids) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysClassController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysClassController.java index e9bb8f1..d235e34 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysClassController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysClassController.java @@ -38,7 +38,7 @@ /** * 鏌ヨ鐝骇淇℃伅鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:class:list')") + // @PreAuthorize("@ss.hasPermi('system:class:list')") @GetMapping("/list") public TableDataInfo list(SysClass sysClass) { @@ -50,7 +50,7 @@ /** * 瀵煎嚭鐝骇淇℃伅鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:class:export')") + // @PreAuthorize("@ss.hasPermi('system:class:export')") @Log(title = "鐝骇淇℃伅", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(SysClass sysClass) @@ -63,7 +63,7 @@ /** * 鑾峰彇鐝骇淇℃伅璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:class:query')") + // @PreAuthorize("@ss.hasPermi('system:class:query')") @GetMapping(value = "/{classId}") public AjaxResult getInfo(@PathVariable("classId") Long classId) { @@ -73,7 +73,7 @@ /** * 鏂板鐝骇淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:class:add')") + // @PreAuthorize("@ss.hasPermi('system:class:add')") @Log(title = "鐝骇淇℃伅", businessType = BusinessType.INSERT) @PostMapping @RepeatSubmit @@ -85,7 +85,7 @@ /** * 淇敼鐝骇淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:class:edit')") + // @PreAuthorize("@ss.hasPermi('system:class:edit')") @Log(title = "鐝骇淇℃伅", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -97,7 +97,7 @@ /** * 鍒犻櫎鐝骇淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:class:remove')") + // @PreAuthorize("@ss.hasPermi('system:class:remove')") @Log(title = "鐝骇淇℃伅", businessType = BusinessType.DELETE) @GetMapping("/remove/{classIds}") public AjaxResult remove(@PathVariable Long[] classIds) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysConfigController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysConfigController.java index c81ba32..32be1ad 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysConfigController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysConfigController.java @@ -38,7 +38,7 @@ /** * 鑾峰彇鍙傛暟閰嶇疆鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:config:list')") + // @PreAuthorize("@ss.hasPermi('system:config:list')") @GetMapping("/list") public TableDataInfo list(SysConfig config) { @@ -48,7 +48,7 @@ } @Log(title = "鍙傛暟绠$悊", businessType = BusinessType.EXPORT) - @PreAuthorize("@ss.hasPermi('system:config:export')") + // @PreAuthorize("@ss.hasPermi('system:config:export')") @GetMapping("/export") public AjaxResult export(SysConfig config) { @@ -60,7 +60,7 @@ /** * 鏍规嵁鍙傛暟缂栧彿鑾峰彇璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:config:query')") + // @PreAuthorize("@ss.hasPermi('system:config:query')") @GetMapping(value = "/{configId}") public AjaxResult getInfo(@PathVariable Long configId) { @@ -79,7 +79,7 @@ /** * 鏂板鍙傛暟閰嶇疆 */ - @PreAuthorize("@ss.hasPermi('system:config:add')") + // @PreAuthorize("@ss.hasPermi('system:config:add')") @Log(title = "鍙傛暟绠$悊", businessType = BusinessType.INSERT) @PostMapping @RepeatSubmit @@ -96,7 +96,7 @@ /** * 淇敼鍙傛暟閰嶇疆 */ - @PreAuthorize("@ss.hasPermi('system:config:edit')") + // @PreAuthorize("@ss.hasPermi('system:config:edit')") @Log(title = "鍙傛暟绠$悊", businessType = BusinessType.UPDATE) @PostMapping("/edit") public AjaxResult edit(@Validated @RequestBody SysConfig config) @@ -112,7 +112,7 @@ /** * 鍒犻櫎鍙傛暟閰嶇疆 */ - @PreAuthorize("@ss.hasPermi('system:config:remove')") + // @PreAuthorize("@ss.hasPermi('system:config:remove')") @Log(title = "鍙傛暟绠$悊", businessType = BusinessType.DELETE) @GetMapping("/remove/{configIds}") public AjaxResult remove(@PathVariable Long[] configIds) @@ -124,7 +124,7 @@ /** * 鍒锋柊鍙傛暟缂撳瓨 */ - @PreAuthorize("@ss.hasPermi('system:config:remove')") + // @PreAuthorize("@ss.hasPermi('system:config:remove')") @Log(title = "鍙傛暟绠$悊", businessType = BusinessType.CLEAN) @GetMapping("/refreshCache") public AjaxResult refreshCache() diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java index 3905b53..7369ed9 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java @@ -38,7 +38,7 @@ /** * 鑾峰彇閮ㄩ棬鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:dept:list')") + // @PreAuthorize("@ss.hasPermi('system:dept:list')") @GetMapping("/list") public AjaxResult list(SysDept dept) { @@ -49,7 +49,7 @@ /** * 鏌ヨ閮ㄩ棬鍒楄〃锛堟帓闄よ妭鐐癸級 */ - @PreAuthorize("@ss.hasPermi('system:dept:list')") + // @PreAuthorize("@ss.hasPermi('system:dept:list')") @GetMapping("/list/exclude/{deptId}") public AjaxResult excludeChild(@PathVariable(value = "deptId", required = false) Long deptId) { @@ -70,7 +70,7 @@ /** * 鏍规嵁閮ㄩ棬缂栧彿鑾峰彇璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:dept:query')") + // @PreAuthorize("@ss.hasPermi('system:dept:query')") @GetMapping(value = "/{deptId}") public AjaxResult getInfo(@PathVariable Long deptId) { @@ -104,7 +104,7 @@ /** * 鏂板閮ㄩ棬 */ - @PreAuthorize("@ss.hasPermi('system:dept:add')") + // @PreAuthorize("@ss.hasPermi('system:dept:add')") @Log(title = "閮ㄩ棬绠$悊", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@Validated @RequestBody SysDept dept) @@ -120,7 +120,7 @@ /** * 淇敼閮ㄩ棬 */ - @PreAuthorize("@ss.hasPermi('system:dept:edit')") + // @PreAuthorize("@ss.hasPermi('system:dept:edit')") @Log(title = "閮ㄩ棬绠$悊", businessType = BusinessType.UPDATE) @PostMapping("/edit") public AjaxResult edit(@Validated @RequestBody SysDept dept) @@ -145,7 +145,7 @@ /** * 鍒犻櫎閮ㄩ棬 */ - @PreAuthorize("@ss.hasPermi('system:dept:remove')") + // @PreAuthorize("@ss.hasPermi('system:dept:remove')") @Log(title = "閮ㄩ棬绠$悊", businessType = BusinessType.DELETE) @GetMapping("/remove/{deptId}") public AjaxResult remove(@PathVariable Long deptId) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDictDataController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDictDataController.java index e2001e9..742a004 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDictDataController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDictDataController.java @@ -41,7 +41,7 @@ @Autowired private ISysDictTypeService dictTypeService; - @PreAuthorize("@ss.hasPermi('system:dict:list')") + // @PreAuthorize("@ss.hasPermi('system:dict:list')") @GetMapping("/list") public TableDataInfo list(SysDictData dictData) { @@ -51,7 +51,7 @@ } @Log(title = "瀛楀吀鏁版嵁", businessType = BusinessType.EXPORT) - @PreAuthorize("@ss.hasPermi('system:dict:export')") + // @PreAuthorize("@ss.hasPermi('system:dict:export')") @GetMapping("/export") public AjaxResult export(SysDictData dictData) { @@ -63,7 +63,7 @@ /** * 鏌ヨ瀛楀吀鏁版嵁璇︾粏 */ - @PreAuthorize("@ss.hasPermi('system:dict:query')") + // @PreAuthorize("@ss.hasPermi('system:dict:query')") @GetMapping(value = "/{dictCode}") public AjaxResult getInfo(@PathVariable Long dictCode) { @@ -89,7 +89,7 @@ /** * 鏂板瀛楀吀绫诲瀷 */ - @PreAuthorize("@ss.hasPermi('system:dict:add')") + // @PreAuthorize("@ss.hasPermi('system:dict:add')") @Log(title = "瀛楀吀鏁版嵁", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@Validated @RequestBody SysDictData dict) @@ -101,7 +101,7 @@ /** * 淇敼淇濆瓨瀛楀吀绫诲瀷 */ - @PreAuthorize("@ss.hasPermi('system:dict:edit')") + // @PreAuthorize("@ss.hasPermi('system:dict:edit')") @Log(title = "瀛楀吀鏁版嵁", businessType = BusinessType.UPDATE) @PostMapping("/edit") public AjaxResult edit(@Validated @RequestBody SysDictData dict) @@ -113,7 +113,7 @@ /** * 鍒犻櫎瀛楀吀绫诲瀷 */ - @PreAuthorize("@ss.hasPermi('system:dict:remove')") + // @PreAuthorize("@ss.hasPermi('system:dict:remove')") @Log(title = "瀛楀吀绫诲瀷", businessType = BusinessType.DELETE) @GetMapping("/remove/{dictCodes}") public AjaxResult remove(@PathVariable Long[] dictCodes) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDictTypeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDictTypeController.java index 60fa805..cd2e5a5 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDictTypeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDictTypeController.java @@ -34,7 +34,7 @@ @Autowired private ISysDictTypeService dictTypeService; - @PreAuthorize("@ss.hasPermi('system:dict:list')") + // @PreAuthorize("@ss.hasPermi('system:dict:list')") @GetMapping("/list") public TableDataInfo list(SysDictType dictType) { @@ -44,7 +44,7 @@ } @Log(title = "瀛楀吀绫诲瀷", businessType = BusinessType.EXPORT) - @PreAuthorize("@ss.hasPermi('system:dict:export')") + // @PreAuthorize("@ss.hasPermi('system:dict:export')") @GetMapping("/export") public AjaxResult export(SysDictType dictType) { @@ -56,7 +56,7 @@ /** * 鏌ヨ瀛楀吀绫诲瀷璇︾粏 */ - @PreAuthorize("@ss.hasPermi('system:dict:query')") + // @PreAuthorize("@ss.hasPermi('system:dict:query')") @GetMapping(value = "/{dictId}") public AjaxResult getInfo(@PathVariable Long dictId) { @@ -66,7 +66,7 @@ /** * 鏂板瀛楀吀绫诲瀷 */ - @PreAuthorize("@ss.hasPermi('system:dict:add')") + // @PreAuthorize("@ss.hasPermi('system:dict:add')") @Log(title = "瀛楀吀绫诲瀷", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@Validated @RequestBody SysDictType dict) @@ -82,7 +82,7 @@ /** * 淇敼瀛楀吀绫诲瀷 */ - @PreAuthorize("@ss.hasPermi('system:dict:edit')") + // @PreAuthorize("@ss.hasPermi('system:dict:edit')") @Log(title = "瀛楀吀绫诲瀷", businessType = BusinessType.UPDATE) @PostMapping("/edit") public AjaxResult edit(@Validated @RequestBody SysDictType dict) @@ -98,7 +98,7 @@ /** * 鍒犻櫎瀛楀吀绫诲瀷 */ - @PreAuthorize("@ss.hasPermi('system:dict:remove')") + // @PreAuthorize("@ss.hasPermi('system:dict:remove')") @Log(title = "瀛楀吀绫诲瀷", businessType = BusinessType.DELETE) @GetMapping("/remove/{dictIds}") public AjaxResult remove(@PathVariable Long[] dictIds) @@ -110,7 +110,7 @@ /** * 鍒锋柊瀛楀吀缂撳瓨 */ - @PreAuthorize("@ss.hasPermi('system:dict:remove')") + // @PreAuthorize("@ss.hasPermi('system:dict:remove')") @Log(title = "瀛楀吀绫诲瀷", businessType = BusinessType.CLEAN) @GetMapping("/refreshCache") public AjaxResult refreshCache() diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysGradeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysGradeController.java index 7dacc05..9816ac5 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysGradeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysGradeController.java @@ -39,7 +39,7 @@ /** * 鏌ヨ骞寸骇淇℃伅鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:grade:list')") + // @PreAuthorize("@ss.hasPermi('system:grade:list')") @GetMapping("/list") public TableDataInfo list(SysGrade sysGrade) { @@ -51,7 +51,7 @@ /** * 瀵煎嚭骞寸骇淇℃伅鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:grade:export')") + // @PreAuthorize("@ss.hasPermi('system:grade:export')") @Log(title = "骞寸骇淇℃伅", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(SysGrade sysGrade) @@ -64,7 +64,7 @@ /** * 鑾峰彇骞寸骇淇℃伅璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:grade:query')") + // @PreAuthorize("@ss.hasPermi('system:grade:query')") @GetMapping(value = "/{gradeId}") public AjaxResult getInfo(@PathVariable("gradeId") Long gradeId) { @@ -74,7 +74,7 @@ /** * 鏂板骞寸骇淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:grade:add')") + // @PreAuthorize("@ss.hasPermi('system:grade:add')") @Log(title = "骞寸骇淇℃伅", businessType = BusinessType.INSERT) @PostMapping @RepeatSubmit @@ -86,7 +86,7 @@ /** * 淇敼骞寸骇淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:grade:edit')") + // @PreAuthorize("@ss.hasPermi('system:grade:edit')") @Log(title = "骞寸骇淇℃伅", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -98,7 +98,7 @@ /** * 鍒犻櫎骞寸骇淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:grade:remove')") + // @PreAuthorize("@ss.hasPermi('system:grade:remove')") @Log(title = "骞寸骇淇℃伅", businessType = BusinessType.DELETE) @GetMapping("/remove/{gradeIds}") public AjaxResult remove(@PathVariable Long[] gradeIds) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysMenuController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysMenuController.java index acd9324..0e20818 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysMenuController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysMenuController.java @@ -40,7 +40,7 @@ * 鑾峰彇鑿滃崟鍒楄〃 */ @ApiOperation("鑾峰彇鑿滃崟鍒楄〃") - /*@PreAuthorize("@ss.hasPermi('system:menu:list')")*/ + /*// @PreAuthorize("@ss.hasPermi('system:menu:list')")*/ @GetMapping("/list") public AjaxResult list(SysMenu menu) { @@ -51,7 +51,7 @@ /** * 鏍规嵁鑿滃崟缂栧彿鑾峰彇璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:menu:query')") + // @PreAuthorize("@ss.hasPermi('system:menu:query')") @GetMapping(value = "/{menuId}") public AjaxResult getInfo(@PathVariable Long menuId) { @@ -84,7 +84,7 @@ /** * 鏂板鑿滃崟 */ - @PreAuthorize("@ss.hasPermi('system:menu:add')") + // @PreAuthorize("@ss.hasPermi('system:menu:add')") @Log(title = "鑿滃崟绠$悊", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@Validated @RequestBody SysMenu menu) @@ -104,7 +104,7 @@ /** * 淇敼鑿滃崟 */ - @PreAuthorize("@ss.hasPermi('system:menu:edit')") + // @PreAuthorize("@ss.hasPermi('system:menu:edit')") @Log(title = "鑿滃崟绠$悊", businessType = BusinessType.UPDATE) @PostMapping("/edit") public AjaxResult edit(@Validated @RequestBody SysMenu menu) @@ -128,7 +128,7 @@ /** * 鍒犻櫎鑿滃崟 */ - @PreAuthorize("@ss.hasPermi('system:menu:remove')") + // @PreAuthorize("@ss.hasPermi('system:menu:remove')") @Log(title = "鑿滃崟绠$悊", businessType = BusinessType.DELETE) @GetMapping("/remove/{menuId}") public AjaxResult remove(@PathVariable("menuId") Long menuId) @@ -143,4 +143,4 @@ } return toAjax(menuService.deleteMenuById(menuId)); } -} \ No newline at end of file +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysNoticeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysNoticeController.java index 23d03d8..39c1dc5 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysNoticeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysNoticeController.java @@ -35,7 +35,7 @@ /** * 鑾峰彇閫氱煡鍏憡鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:notice:list')") + // @PreAuthorize("@ss.hasPermi('system:notice:list')") @GetMapping("/list") public TableDataInfo list(SysNotice notice) { @@ -47,7 +47,7 @@ /** * 鏍规嵁閫氱煡鍏憡缂栧彿鑾峰彇璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:notice:query')") + // @PreAuthorize("@ss.hasPermi('system:notice:query')") @GetMapping(value = "/{noticeId}") public AjaxResult getInfo(@PathVariable Long noticeId) { @@ -57,7 +57,7 @@ /** * 鏂板閫氱煡鍏憡 */ - @PreAuthorize("@ss.hasPermi('system:notice:add')") + // @PreAuthorize("@ss.hasPermi('system:notice:add')") @Log(title = "閫氱煡鍏憡", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@Validated @RequestBody SysNotice notice) @@ -69,7 +69,7 @@ /** * 淇敼閫氱煡鍏憡 */ - @PreAuthorize("@ss.hasPermi('system:notice:edit')") + // @PreAuthorize("@ss.hasPermi('system:notice:edit')") @Log(title = "閫氱煡鍏憡", businessType = BusinessType.UPDATE) @PostMapping("/edit") public AjaxResult edit(@Validated @RequestBody SysNotice notice) @@ -81,7 +81,7 @@ /** * 鍒犻櫎閫氱煡鍏憡 */ - @PreAuthorize("@ss.hasPermi('system:notice:remove')") + // @PreAuthorize("@ss.hasPermi('system:notice:remove')") @Log(title = "閫氱煡鍏憡", businessType = BusinessType.DELETE) @GetMapping("/remove/{noticeIds}") public AjaxResult remove(@PathVariable Long[] noticeIds) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysPostController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysPostController.java index 5755ffd..6d01a70 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysPostController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysPostController.java @@ -37,7 +37,7 @@ /** * 鑾峰彇宀椾綅鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:post:list')") + // @PreAuthorize("@ss.hasPermi('system:post:list')") @GetMapping("/list") public TableDataInfo list(SysPost post) { @@ -47,7 +47,7 @@ } @Log(title = "宀椾綅绠$悊", businessType = BusinessType.EXPORT) - @PreAuthorize("@ss.hasPermi('system:post:export')") + // @PreAuthorize("@ss.hasPermi('system:post:export')") @GetMapping("/export") public AjaxResult export(SysPost post) { @@ -59,7 +59,7 @@ /** * 鏍规嵁宀椾綅缂栧彿鑾峰彇璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:post:query')") + // @PreAuthorize("@ss.hasPermi('system:post:query')") @GetMapping(value = "/{postId}") public AjaxResult getInfo(@PathVariable Long postId) { @@ -69,7 +69,7 @@ /** * 鏂板宀椾綅 */ - @PreAuthorize("@ss.hasPermi('system:post:add')") + // @PreAuthorize("@ss.hasPermi('system:post:add')") @Log(title = "宀椾綅绠$悊", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@Validated @RequestBody SysPost post) @@ -89,7 +89,7 @@ /** * 淇敼宀椾綅 */ - @PreAuthorize("@ss.hasPermi('system:post:edit')") + // @PreAuthorize("@ss.hasPermi('system:post:edit')") @Log(title = "宀椾綅绠$悊", businessType = BusinessType.UPDATE) @PostMapping("/edit") public AjaxResult edit(@Validated @RequestBody SysPost post) @@ -109,7 +109,7 @@ /** * 鍒犻櫎宀椾綅 */ - @PreAuthorize("@ss.hasPermi('system:post:remove')") + // @PreAuthorize("@ss.hasPermi('system:post:remove')") @Log(title = "宀椾綅绠$悊", businessType = BusinessType.DELETE) @GetMapping("/remove/{postIds}") public AjaxResult remove(@PathVariable Long[] postIds) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysRoleController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysRoleController.java index 1dd4efb..d719108 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysRoleController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysRoleController.java @@ -50,7 +50,7 @@ @Autowired private ISysUserService userService; - @PreAuthorize("@ss.hasPermi('system:role:list')") + // @PreAuthorize("@ss.hasPermi('system:role:list')") @GetMapping("/list") public TableDataInfo list(SysRole role) { @@ -60,7 +60,7 @@ } @Log(title = "瑙掕壊绠$悊", businessType = BusinessType.EXPORT) - @PreAuthorize("@ss.hasPermi('system:role:export')") + // @PreAuthorize("@ss.hasPermi('system:role:export')") @GetMapping("/export") public AjaxResult export(SysRole role) { @@ -72,7 +72,7 @@ /** * 鏍规嵁瑙掕壊缂栧彿鑾峰彇璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:role:query')") + // @PreAuthorize("@ss.hasPermi('system:role:query')") @GetMapping(value = "/{roleId}") public AjaxResult getInfo(@PathVariable Long roleId) { @@ -83,7 +83,7 @@ /** * 鏂板瑙掕壊 */ - @PreAuthorize("@ss.hasPermi('system:role:add')") + // @PreAuthorize("@ss.hasPermi('system:role:add')") @Log(title = "瑙掕壊绠$悊", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@Validated @RequestBody SysRole role) @@ -104,7 +104,7 @@ /** * 淇敼淇濆瓨瑙掕壊 */ - @PreAuthorize("@ss.hasPermi('system:role:edit')") + // @PreAuthorize("@ss.hasPermi('system:role:edit')") @Log(title = "瑙掕壊绠$悊", businessType = BusinessType.UPDATE) @PostMapping("/edit") public AjaxResult edit(@Validated @RequestBody SysRole role) @@ -138,7 +138,7 @@ /** * 淇敼淇濆瓨鏁版嵁鏉冮檺 */ - @PreAuthorize("@ss.hasPermi('system:role:edit')") + // @PreAuthorize("@ss.hasPermi('system:role:edit')") @Log(title = "瑙掕壊绠$悊", businessType = BusinessType.UPDATE) @PostMapping("/dataScope") public AjaxResult dataScope(@RequestBody SysRole role) @@ -150,7 +150,7 @@ /** * 鐘舵�佷慨鏀� */ - @PreAuthorize("@ss.hasPermi('system:role:edit')") + // @PreAuthorize("@ss.hasPermi('system:role:edit')") @Log(title = "瑙掕壊绠$悊", businessType = BusinessType.UPDATE) @PostMapping("/changeStatus") public AjaxResult changeStatus(@RequestBody SysRole role) @@ -163,7 +163,7 @@ /** * 鍒犻櫎瑙掕壊 */ - @PreAuthorize("@ss.hasPermi('system:role:remove')") + // @PreAuthorize("@ss.hasPermi('system:role:remove')") @Log(title = "瑙掕壊绠$悊", businessType = BusinessType.DELETE) @GetMapping("/remove/{roleIds}") public AjaxResult remove(@PathVariable Long[] roleIds) @@ -174,7 +174,7 @@ /** * 鑾峰彇瑙掕壊閫夋嫨妗嗗垪琛� */ - @PreAuthorize("@ss.hasPermi('system:role:query')") + // @PreAuthorize("@ss.hasPermi('system:role:query')") @GetMapping("/optionselect") public AjaxResult optionselect() { @@ -184,7 +184,7 @@ /** * 鏌ヨ宸插垎閰嶇敤鎴疯鑹插垪琛� */ - @PreAuthorize("@ss.hasPermi('system:role:list')") + // @PreAuthorize("@ss.hasPermi('system:role:list')") @GetMapping("/authUser/allocatedList") public TableDataInfo allocatedList(SysUser user) { @@ -196,7 +196,7 @@ /** * 鏌ヨ鏈垎閰嶇敤鎴疯鑹插垪琛� */ - @PreAuthorize("@ss.hasPermi('system:role:list')") + // @PreAuthorize("@ss.hasPermi('system:role:list')") @GetMapping("/authUser/unallocatedList") public TableDataInfo unallocatedList(SysUser user) { @@ -208,7 +208,7 @@ /** * 鍙栨秷鎺堟潈鐢ㄦ埛 */ - @PreAuthorize("@ss.hasPermi('system:role:edit')") + // @PreAuthorize("@ss.hasPermi('system:role:edit')") @Log(title = "瑙掕壊绠$悊", businessType = BusinessType.GRANT) @PostMapping("/authUser/cancel/cancelAuthUser") public AjaxResult cancelAuthUser(@RequestBody SysUserRole userRole) @@ -219,7 +219,7 @@ /** * 鎵归噺鍙栨秷鎺堟潈鐢ㄦ埛 */ - @PreAuthorize("@ss.hasPermi('system:role:edit')") + // @PreAuthorize("@ss.hasPermi('system:role:edit')") @Log(title = "瑙掕壊绠$悊", businessType = BusinessType.GRANT) @PostMapping("/authUser/cancelAll/cancelAuthUserAll") public AjaxResult cancelAuthUserAll(Long roleId, Long[] userIds) @@ -230,7 +230,7 @@ /** * 鎵归噺閫夋嫨鐢ㄦ埛鎺堟潈 */ - @PreAuthorize("@ss.hasPermi('system:role:edit')") + // @PreAuthorize("@ss.hasPermi('system:role:edit')") @Log(title = "瑙掕壊绠$悊", businessType = BusinessType.GRANT) @PostMapping("/authUser/selectAll/selectAuthUserAll") public AjaxResult selectAuthUserAll(Long roleId, Long[] userIds) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysStudentController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysStudentController.java index 5bff8ca..840d3ef 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysStudentController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysStudentController.java @@ -36,7 +36,7 @@ /** * 鏌ヨ瀛︾敓淇℃伅鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:student:list')") + // @PreAuthorize("@ss.hasPermi('system:student:list')") @GetMapping("/list") public TableDataInfo list(SysStudent sysStudent) { startPage(); @@ -102,7 +102,7 @@ /** * 瀵煎嚭瀛︾敓淇℃伅鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:student:export')") + // @PreAuthorize("@ss.hasPermi('system:student:export')") @Log(title = "瀛︾敓淇℃伅", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(SysStudent sysStudent) { @@ -114,7 +114,7 @@ /** * 鑾峰彇瀛︾敓淇℃伅璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:student:query')") + // @PreAuthorize("@ss.hasPermi('system:student:query')") @GetMapping(value = "/{studentId}") public AjaxResult getInfo(@PathVariable("studentId") Long studentId) { return AjaxResult.success(sysStudentService.getById(studentId)); @@ -123,7 +123,7 @@ /** * 鏂板瀛︾敓淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:student:add')") + // @PreAuthorize("@ss.hasPermi('system:student:add')") @Log(title = "瀛︾敓淇℃伅", businessType = BusinessType.INSERT) @PostMapping @RepeatSubmit @@ -134,7 +134,7 @@ /** * 淇敼瀛︾敓淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:student:edit')") + // @PreAuthorize("@ss.hasPermi('system:student:edit')") @Log(title = "瀛︾敓淇℃伅", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -145,7 +145,7 @@ /** * 鍒犻櫎瀛︾敓淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:student:remove')") + // @PreAuthorize("@ss.hasPermi('system:student:remove')") @Log(title = "瀛︾敓淇℃伅", businessType = BusinessType.DELETE) @GetMapping("/remove/{studentIds}") public AjaxResult remove(@PathVariable Long[] studentIds) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserController.java index f420f86..5986831 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserController.java @@ -53,7 +53,7 @@ /** * 鑾峰彇鐢ㄦ埛鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:user:list')") + // @PreAuthorize("@ss.hasPermi('system:user:list')") @GetMapping("/list") public TableDataInfo list(SysUser user) { @@ -63,7 +63,7 @@ } @Log(title = "鐢ㄦ埛绠$悊", businessType = BusinessType.EXPORT) - @PreAuthorize("@ss.hasPermi('system:user:export')") + // @PreAuthorize("@ss.hasPermi('system:user:export')") @GetMapping("/export") public AjaxResult export(SysUser user) { @@ -73,7 +73,7 @@ } @Log(title = "鐢ㄦ埛绠$悊", businessType = BusinessType.IMPORT) - @PreAuthorize("@ss.hasPermi('system:user:import')") + // @PreAuthorize("@ss.hasPermi('system:user:import')") @PostMapping("/importData") public AjaxResult importData(MultipartFile file, boolean updateSupport) throws Exception { @@ -94,7 +94,7 @@ /** * 鏍规嵁鐢ㄦ埛缂栧彿鑾峰彇璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:user:query')") + // @PreAuthorize("@ss.hasPermi('system:user:query')") @GetMapping(value = { "/", "/{userId}" }) public AjaxResult getInfo(@PathVariable(value = "userId", required = false) Long userId) { @@ -115,7 +115,7 @@ /** * 鏂板鐢ㄦ埛 */ - @PreAuthorize("@ss.hasPermi('system:user:add')") + // @PreAuthorize("@ss.hasPermi('system:user:add')") @Log(title = "鐢ㄦ埛绠$悊", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@Validated @RequestBody SysUser user) @@ -166,7 +166,7 @@ /** * 淇敼鐢ㄦ埛 */ - @PreAuthorize("@ss.hasPermi('system:user:edit')") + // @PreAuthorize("@ss.hasPermi('system:user:edit')") @Log(title = "鐢ㄦ埛绠$悊", businessType = BusinessType.UPDATE) @PostMapping("/edit") public AjaxResult edit(@Validated @RequestBody SysUser user) @@ -189,7 +189,7 @@ /** * 鍒犻櫎鐢ㄦ埛 */ - @PreAuthorize("@ss.hasPermi('system:user:remove')") + // @PreAuthorize("@ss.hasPermi('system:user:remove')") @Log(title = "鐢ㄦ埛绠$悊", businessType = BusinessType.DELETE) @GetMapping("/remove/{userIds}") public AjaxResult remove(@PathVariable Long[] userIds) @@ -204,7 +204,7 @@ /** * 閲嶇疆瀵嗙爜 */ - @PreAuthorize("@ss.hasPermi('system:user:resetPwd')") + // @PreAuthorize("@ss.hasPermi('system:user:resetPwd')") @Log(title = "鐢ㄦ埛绠$悊", businessType = BusinessType.UPDATE) @PostMapping("/resetPwd") public AjaxResult resetPwd(@RequestBody SysUser user) @@ -223,7 +223,7 @@ /** * 鐘舵�佷慨鏀� */ - @PreAuthorize("@ss.hasPermi('system:user:edit')") + // @PreAuthorize("@ss.hasPermi('system:user:edit')") @Log(title = "鐢ㄦ埛绠$悊", businessType = BusinessType.UPDATE) @PostMapping("/changeStatus") public AjaxResult changeStatus(@RequestBody SysUser user) @@ -236,7 +236,7 @@ /** * 鏍规嵁鐢ㄦ埛缂栧彿鑾峰彇鎺堟潈瑙掕壊 */ - @PreAuthorize("@ss.hasPermi('system:user:query')") + // @PreAuthorize("@ss.hasPermi('system:user:query')") @GetMapping("/authRole/{userId}") public AjaxResult authRole(@PathVariable("userId") Long userId) { @@ -251,7 +251,7 @@ /** * 鐢ㄦ埛鎺堟潈瑙掕壊 */ - @PreAuthorize("@ss.hasPermi('system:user:edit')") + // @PreAuthorize("@ss.hasPermi('system:user:edit')") @Log(title = "鐢ㄦ埛绠$悊", businessType = BusinessType.GRANT) @PostMapping("/authRole/insertAuthRole") public AjaxResult insertAuthRole(@RequestBody SysUser user) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/tool/SwaggerController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/tool/SwaggerController.java index f66ca24..00d8e20 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/tool/SwaggerController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/tool/SwaggerController.java @@ -15,7 +15,7 @@ @RequestMapping("/tool/swagger") public class SwaggerController extends BaseController { - @PreAuthorize("@ss.hasPermi('tool:swagger:view')") + // @PreAuthorize("@ss.hasPermi('tool:swagger:view')") @GetMapping() public String index() { diff --git a/ruoyi-generator/src/main/java/com/ruoyi/generator/controller/GenController.java b/ruoyi-generator/src/main/java/com/ruoyi/generator/controller/GenController.java index ab920d4..4ee2d43 100644 --- a/ruoyi-generator/src/main/java/com/ruoyi/generator/controller/GenController.java +++ b/ruoyi-generator/src/main/java/com/ruoyi/generator/controller/GenController.java @@ -46,7 +46,7 @@ /** * 鏌ヨ浠g爜鐢熸垚鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('tool:gen:list')") + // @PreAuthorize("@ss.hasPermi('tool:gen:list')") @GetMapping("/list") public TableDataInfo genList(GenTable genTable) { @@ -58,7 +58,7 @@ /** * 淇敼浠g爜鐢熸垚涓氬姟 */ - @PreAuthorize("@ss.hasPermi('tool:gen:query')") + // @PreAuthorize("@ss.hasPermi('tool:gen:query')") @GetMapping(value = "/{talbleId}") public AjaxResult getInfo(@PathVariable Long talbleId) { @@ -75,7 +75,7 @@ /** * 鏌ヨ鏁版嵁搴撳垪琛� */ - @PreAuthorize("@ss.hasPermi('tool:gen:list')") + // @PreAuthorize("@ss.hasPermi('tool:gen:list')") @GetMapping("/db/list") public TableDataInfo dataList(GenTable genTable) { @@ -87,7 +87,7 @@ /** * 鏌ヨ鏁版嵁琛ㄥ瓧娈靛垪琛� */ - @PreAuthorize("@ss.hasPermi('tool:gen:list')") + // @PreAuthorize("@ss.hasPermi('tool:gen:list')") @GetMapping(value = "/column/{talbleId}") public TableDataInfo columnList(Long tableId) { @@ -101,7 +101,7 @@ /** * 瀵煎叆琛ㄧ粨鏋勶紙淇濆瓨锛� */ - @PreAuthorize("@ss.hasPermi('tool:gen:import')") + // @PreAuthorize("@ss.hasPermi('tool:gen:import')") @Log(title = "浠g爜鐢熸垚", businessType = BusinessType.IMPORT) @PostMapping("/importTable") public AjaxResult importTableSave(String tables) @@ -116,7 +116,7 @@ /** * 淇敼淇濆瓨浠g爜鐢熸垚涓氬姟 */ - @PreAuthorize("@ss.hasPermi('tool:gen:edit')") + // @PreAuthorize("@ss.hasPermi('tool:gen:edit')") @Log(title = "浠g爜鐢熸垚", businessType = BusinessType.UPDATE) @PostMapping("/editSave") public AjaxResult editSave(@Validated @RequestBody GenTable genTable) @@ -129,7 +129,7 @@ /** * 鍒犻櫎浠g爜鐢熸垚 */ - @PreAuthorize("@ss.hasPermi('tool:gen:remove')") + // @PreAuthorize("@ss.hasPermi('tool:gen:remove')") @Log(title = "浠g爜鐢熸垚", businessType = BusinessType.DELETE) @GetMapping("/remove/{tableIds}") public AjaxResult remove(@PathVariable Long[] tableIds) @@ -141,7 +141,7 @@ /** * 棰勮浠g爜 */ - @PreAuthorize("@ss.hasPermi('tool:gen:preview')") + // @PreAuthorize("@ss.hasPermi('tool:gen:preview')") @GetMapping("/preview/{tableId}") public AjaxResult preview(@PathVariable("tableId") Long tableId) throws IOException { @@ -152,7 +152,7 @@ /** * 鐢熸垚浠g爜锛堜笅杞芥柟寮忥級 */ - @PreAuthorize("@ss.hasPermi('tool:gen:code')") + // @PreAuthorize("@ss.hasPermi('tool:gen:code')") @Log(title = "浠g爜鐢熸垚", businessType = BusinessType.GENCODE) @GetMapping("/download/{tableName}") public void download(HttpServletResponse response, @PathVariable("tableName") String tableName) throws IOException @@ -164,7 +164,7 @@ /** * 鐢熸垚浠g爜锛堣嚜瀹氫箟璺緞锛� */ - @PreAuthorize("@ss.hasPermi('tool:gen:code')") + // @PreAuthorize("@ss.hasPermi('tool:gen:code')") @Log(title = "浠g爜鐢熸垚", businessType = BusinessType.GENCODE) @GetMapping("/genCode/{tableName}") public AjaxResult genCode(@PathVariable("tableName") String tableName) @@ -176,7 +176,7 @@ /** * 鍚屾鏁版嵁搴� */ - @PreAuthorize("@ss.hasPermi('tool:gen:edit')") + // @PreAuthorize("@ss.hasPermi('tool:gen:edit')") @Log(title = "浠g爜鐢熸垚", businessType = BusinessType.UPDATE) @GetMapping("/synchDb/{tableName}") public AjaxResult synchDb(@PathVariable("tableName") String tableName) @@ -188,7 +188,7 @@ /** * 鎵归噺鐢熸垚浠g爜 */ - @PreAuthorize("@ss.hasPermi('tool:gen:code')") + // @PreAuthorize("@ss.hasPermi('tool:gen:code')") @Log(title = "浠g爜鐢熸垚", businessType = BusinessType.GENCODE) @GetMapping("/batchGenCode") public void batchGenCode(HttpServletResponse response, String tables) throws IOException @@ -211,4 +211,4 @@ response.setContentType("application/octet-stream; charset=UTF-8"); IOUtils.write(data, response.getOutputStream()); } -} \ No newline at end of file +} diff --git a/ruoyi-generator/src/main/resources/vm/java/controller.java.vm b/ruoyi-generator/src/main/resources/vm/java/controller.java.vm index cd15c82..7381569 100644 --- a/ruoyi-generator/src/main/resources/vm/java/controller.java.vm +++ b/ruoyi-generator/src/main/resources/vm/java/controller.java.vm @@ -29,7 +29,7 @@ /** * ${functionName}Controller - * + * * @author ${author} * @date ${datetime} */ @@ -45,7 +45,7 @@ * 鏌ヨ${functionName}鍒楄〃 */ @ApiOperation("鏌ヨ${functionName}鍒楄〃") - @PreAuthorize("@ss.hasPermi('${permissionPrefix}:list')") + // @PreAuthorize("@ss.hasPermi('${permissionPrefix}:list')") @GetMapping("/list") #if($table.crud || $table.sub) public TableDataInfo list(${ClassName} ${className}) @@ -66,7 +66,7 @@ * 瀵煎嚭${functionName}鍒楄〃 */ @ApiOperation("瀵煎嚭${functionName}鍒楄〃") - @PreAuthorize("@ss.hasPermi('${permissionPrefix}:export')") + // @PreAuthorize("@ss.hasPermi('${permissionPrefix}:export')") @Log(title = "${functionName}", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(${ClassName} ${className}) @@ -80,7 +80,7 @@ * 鑾峰彇${functionName}璇︾粏淇℃伅 */ @ApiOperation("鑾峰彇${functionName}璇︾粏淇℃伅") - @PreAuthorize("@ss.hasPermi('${permissionPrefix}:query')") + // @PreAuthorize("@ss.hasPermi('${permissionPrefix}:query')") @GetMapping(value = "/{${pkColumn.javaField}}") public AjaxResult getInfo(@PathVariable("${pkColumn.javaField}") ${pkColumn.javaType} ${pkColumn.javaField}) { @@ -91,7 +91,7 @@ * 鏂板${functionName} */ @ApiOperation("鏂板${functionName}") - @PreAuthorize("@ss.hasPermi('${permissionPrefix}:add')") + // @PreAuthorize("@ss.hasPermi('${permissionPrefix}:add')") @Log(title = "${functionName}", businessType = BusinessType.INSERT) @PostMapping @RepeatSubmit @@ -104,10 +104,10 @@ * 淇敼${functionName} */ @ApiOperation("淇敼${functionName}") - @PreAuthorize("@ss.hasPermi('${permissionPrefix}:edit')") + // @PreAuthorize("@ss.hasPermi('${permissionPrefix}:edit')") @Log(title = "${functionName}", businessType = BusinessType.UPDATE) @PutMapping - @RepeatSubmit + @RepeatSubmit public AjaxResult edit(@RequestBody ${ClassName} ${className}) { return toAjax(${className}Service.updateById(${className})); @@ -117,7 +117,7 @@ * 鍒犻櫎${functionName} */ @ApiOperation("鍒犻櫎${functionName}") - @PreAuthorize("@ss.hasPermi('${permissionPrefix}:remove')") + // @PreAuthorize("@ss.hasPermi('${permissionPrefix}:remove')") @Log(title = "${functionName}", businessType = BusinessType.DELETE) @DeleteMapping("/{${pkColumn.javaField}s}") public AjaxResult remove(@PathVariable ${pkColumn.javaType}[] ${pkColumn.javaField}s) diff --git a/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobController.java b/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobController.java index eedc65f..e73ff96 100644 --- a/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobController.java +++ b/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobController.java @@ -40,7 +40,7 @@ /** * 鏌ヨ瀹氭椂浠诲姟鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('monitor:job:list')") + // @PreAuthorize("@ss.hasPermi('monitor:job:list')") @GetMapping("/list") public TableDataInfo list(SysJob sysJob) { @@ -52,7 +52,7 @@ /** * 瀵煎嚭瀹氭椂浠诲姟鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('monitor:job:export')") + // @PreAuthorize("@ss.hasPermi('monitor:job:export')") @Log(title = "瀹氭椂浠诲姟", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(SysJob sysJob) @@ -65,7 +65,7 @@ /** * 鑾峰彇瀹氭椂浠诲姟璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('monitor:job:query')") + // @PreAuthorize("@ss.hasPermi('monitor:job:query')") @GetMapping(value = "/{jobId}") public AjaxResult getInfo(@PathVariable("jobId") Long jobId) { @@ -75,7 +75,7 @@ /** * 鏂板瀹氭椂浠诲姟 */ - @PreAuthorize("@ss.hasPermi('monitor:job:add')") + // @PreAuthorize("@ss.hasPermi('monitor:job:add')") @Log(title = "瀹氭椂浠诲姟", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody SysJob job) throws SchedulerException, TaskException @@ -103,7 +103,7 @@ /** * 淇敼瀹氭椂浠诲姟 */ - @PreAuthorize("@ss.hasPermi('monitor:job:edit')") + // @PreAuthorize("@ss.hasPermi('monitor:job:edit')") @Log(title = "瀹氭椂浠诲姟", businessType = BusinessType.UPDATE) @PostMapping("/edit") public AjaxResult edit(@RequestBody SysJob job) throws SchedulerException, TaskException @@ -131,7 +131,7 @@ /** * 瀹氭椂浠诲姟鐘舵�佷慨鏀� */ - @PreAuthorize("@ss.hasPermi('monitor:job:changeStatus')") + // @PreAuthorize("@ss.hasPermi('monitor:job:changeStatus')") @Log(title = "瀹氭椂浠诲姟", businessType = BusinessType.UPDATE) @PostMapping("/changeStatus") public AjaxResult changeStatus(@RequestBody SysJob job) throws SchedulerException @@ -144,7 +144,7 @@ /** * 瀹氭椂浠诲姟绔嬪嵆鎵ц涓�娆� */ - @PreAuthorize("@ss.hasPermi('monitor:job:changeStatus')") + // @PreAuthorize("@ss.hasPermi('monitor:job:changeStatus')") @Log(title = "瀹氭椂浠诲姟", businessType = BusinessType.UPDATE) @PostMapping("/run") public AjaxResult run(@RequestBody SysJob job) throws SchedulerException @@ -156,7 +156,7 @@ /** * 鍒犻櫎瀹氭椂浠诲姟 */ - @PreAuthorize("@ss.hasPermi('monitor:job:remove')") + // @PreAuthorize("@ss.hasPermi('monitor:job:remove')") @Log(title = "瀹氭椂浠诲姟", businessType = BusinessType.DELETE) @GetMapping("/remove/{jobIds}") public AjaxResult remove(@PathVariable Long[] jobIds) throws SchedulerException, TaskException diff --git a/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobLogController.java b/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobLogController.java index 2e3181d..c45ebb0 100644 --- a/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobLogController.java +++ b/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobLogController.java @@ -32,7 +32,7 @@ /** * 鏌ヨ瀹氭椂浠诲姟璋冨害鏃ュ織鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('monitor:job:list')") + // @PreAuthorize("@ss.hasPermi('monitor:job:list')") @GetMapping("/list") public TableDataInfo list(SysJobLog sysJobLog) { @@ -44,7 +44,7 @@ /** * 瀵煎嚭瀹氭椂浠诲姟璋冨害鏃ュ織鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('monitor:job:export')") + // @PreAuthorize("@ss.hasPermi('monitor:job:export')") @Log(title = "浠诲姟璋冨害鏃ュ織", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(SysJobLog sysJobLog) @@ -57,7 +57,7 @@ /** * 鏍规嵁璋冨害缂栧彿鑾峰彇璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('monitor:job:query')") + // @PreAuthorize("@ss.hasPermi('monitor:job:query')") @GetMapping(value = "/{configId}") public AjaxResult getInfo(@PathVariable Long jobLogId) { @@ -68,7 +68,7 @@ /** * 鍒犻櫎瀹氭椂浠诲姟璋冨害鏃ュ織 */ - @PreAuthorize("@ss.hasPermi('monitor:job:remove')") + // @PreAuthorize("@ss.hasPermi('monitor:job:remove')") @Log(title = "瀹氭椂浠诲姟璋冨害鏃ュ織", businessType = BusinessType.DELETE) @GetMapping("/remove/{jobLogIds}") public AjaxResult remove(@PathVariable Long[] jobLogIds) @@ -79,7 +79,7 @@ /** * 娓呯┖瀹氭椂浠诲姟璋冨害鏃ュ織 */ - @PreAuthorize("@ss.hasPermi('monitor:job:remove')") + // @PreAuthorize("@ss.hasPermi('monitor:job:remove')") @Log(title = "璋冨害鏃ュ織", businessType = BusinessType.CLEAN) @GetMapping("/clean") public AjaxResult clean() -- Gitblit v1.9.3