Browse Source

删除权限

lchao 11 tháng trước cách đây
mục cha
commit
3df5d6f550

+ 6 - 6
zhsq_qk-admin/src/main/java/zhsq_qk/web/controller/system/QkZwyxBadReviewController.java

@@ -37,7 +37,7 @@ public class QkZwyxBadReviewController extends BaseController {
 /**
  * 查询好差评列表
  */
-@PreAuthorize("@ss.hasPermi('system:review:list')")
+
 @GetMapping("/list")
     public TableDataInfo list(QkZwyxBadReview qkZwyxBadReview) {
         startPage();
@@ -48,7 +48,7 @@ public class QkZwyxBadReviewController extends BaseController {
     /**
      * 导出好差评列表
      */
-    @PreAuthorize("@ss.hasPermi('system:review:export')")
+
     @Log(title = "好差评", businessType = BusinessType.EXPORT)
     @PostMapping("/export")
     public void export(HttpServletResponse response, QkZwyxBadReview qkZwyxBadReview) {
@@ -60,7 +60,7 @@ public class QkZwyxBadReviewController extends BaseController {
     /**
      * 获取好差评详细信息
      */
-    @PreAuthorize("@ss.hasPermi('system:review:query')")
+
     @GetMapping(value = "/{id}")
     public AjaxResult getInfo(@PathVariable("id") Long id) {
         return success(qkZwyxBadReviewService.selectQkZwyxBadReviewById(id));
@@ -69,7 +69,7 @@ public class QkZwyxBadReviewController extends BaseController {
     /**
      * 新增好差评
      */
-    @PreAuthorize("@ss.hasPermi('system:review:add')")
+
     @Log(title = "好差评", businessType = BusinessType.INSERT)
     @PostMapping
     public AjaxResult add(@RequestBody QkZwyxBadReview qkZwyxBadReview) {
@@ -79,7 +79,7 @@ public class QkZwyxBadReviewController extends BaseController {
     /**
      * 修改好差评
      */
-    @PreAuthorize("@ss.hasPermi('system:review:edit')")
+
     @Log(title = "好差评", businessType = BusinessType.UPDATE)
     @PutMapping
     public AjaxResult edit(@RequestBody QkZwyxBadReview qkZwyxBadReview) {
@@ -89,7 +89,7 @@ public class QkZwyxBadReviewController extends BaseController {
     /**
      * 删除好差评
      */
-    @PreAuthorize("@ss.hasPermi('system:review:remove')")
+
     @Log(title = "好差评", businessType = BusinessType.DELETE)
     @DeleteMapping("/{ids}")
     public AjaxResult remove(@PathVariable Long[] ids) {

+ 6 - 6
zhsq_qk-admin/src/main/java/zhsq_qk/web/controller/system/QkZwyxBusinessController.java

@@ -37,7 +37,7 @@ public class QkZwyxBusinessController extends BaseController {
     /**
      * 查询新办企业列表
      */
-    @PreAuthorize("@ss.hasPermi('system:business:list')")
+
     @GetMapping("/list")
     public TableDataInfo list(QkZwyxBusiness qkZwyxBusiness) {
         startPage();
@@ -48,7 +48,7 @@ public class QkZwyxBusinessController extends BaseController {
     /**
      * 导出新办企业列表
      */
-    @PreAuthorize("@ss.hasPermi('system:business:export')")
+
     @Log(title = "新办企业", businessType = BusinessType.EXPORT)
     @PostMapping("/export")
     public void export(HttpServletResponse response, QkZwyxBusiness qkZwyxBusiness) {
@@ -60,7 +60,7 @@ public class QkZwyxBusinessController extends BaseController {
     /**
      * 获取新办企业详细信息
      */
-    @PreAuthorize("@ss.hasPermi('system:business:query')")
+
     @GetMapping(value = "/{id}")
     public AjaxResult getInfo(@PathVariable("id") Long id) {
         return success(qkZwyxBusinessService.selectQkZwyxBusinessById(id));
@@ -69,7 +69,7 @@ public class QkZwyxBusinessController extends BaseController {
     /**
      * 新增新办企业
      */
-    @PreAuthorize("@ss.hasPermi('system:business:add')")
+
     @Log(title = "新办企业", businessType = BusinessType.INSERT)
     @PostMapping
     public AjaxResult add(@RequestBody QkZwyxBusiness qkZwyxBusiness) {
@@ -79,7 +79,7 @@ public class QkZwyxBusinessController extends BaseController {
     /**
      * 修改新办企业
      */
-    @PreAuthorize("@ss.hasPermi('system:business:edit')")
+
     @Log(title = "新办企业", businessType = BusinessType.UPDATE)
     @PutMapping
     public AjaxResult edit(@RequestBody QkZwyxBusiness qkZwyxBusiness) {
@@ -89,7 +89,7 @@ public class QkZwyxBusinessController extends BaseController {
     /**
      * 删除新办企业
      */
-    @PreAuthorize("@ss.hasPermi('system:business:remove')")
+
     @Log(title = "新办企业", businessType = BusinessType.DELETE)
     @DeleteMapping("/{ids}")
     public AjaxResult remove(@PathVariable Long[] ids) {

+ 6 - 6
zhsq_qk-admin/src/main/java/zhsq_qk/web/controller/system/QkZwyxCompletionRateController.java

@@ -37,7 +37,7 @@ public class QkZwyxCompletionRateController extends BaseController {
 /**
  * 查询办结率统计列表
  */
-@PreAuthorize("@ss.hasPermi('system:rate:list')")
+
 @GetMapping("/list")
     public TableDataInfo list(QkZwyxCompletionRate qkZwyxCompletionRate) {
         startPage();
@@ -48,7 +48,7 @@ public class QkZwyxCompletionRateController extends BaseController {
     /**
      * 导出办结率统计列表
      */
-    @PreAuthorize("@ss.hasPermi('system:rate:export')")
+
     @Log(title = "办结率统计", businessType = BusinessType.EXPORT)
     @PostMapping("/export")
     public void export(HttpServletResponse response, QkZwyxCompletionRate qkZwyxCompletionRate) {
@@ -60,7 +60,7 @@ public class QkZwyxCompletionRateController extends BaseController {
     /**
      * 获取办结率统计详细信息
      */
-    @PreAuthorize("@ss.hasPermi('system:rate:query')")
+
     @GetMapping(value = "/{id}")
     public AjaxResult getInfo(@PathVariable("id") Long id) {
         return success(qkZwyxCompletionRateService.selectQkZwyxCompletionRateById(id));
@@ -69,7 +69,7 @@ public class QkZwyxCompletionRateController extends BaseController {
     /**
      * 新增办结率统计
      */
-    @PreAuthorize("@ss.hasPermi('system:rate:add')")
+
     @Log(title = "办结率统计", businessType = BusinessType.INSERT)
     @PostMapping
     public AjaxResult add(@RequestBody QkZwyxCompletionRate qkZwyxCompletionRate) {
@@ -79,7 +79,7 @@ public class QkZwyxCompletionRateController extends BaseController {
     /**
      * 修改办结率统计
      */
-    @PreAuthorize("@ss.hasPermi('system:rate:edit')")
+
     @Log(title = "办结率统计", businessType = BusinessType.UPDATE)
     @PutMapping
     public AjaxResult edit(@RequestBody QkZwyxCompletionRate qkZwyxCompletionRate) {
@@ -89,7 +89,7 @@ public class QkZwyxCompletionRateController extends BaseController {
     /**
      * 删除办结率统计
      */
-    @PreAuthorize("@ss.hasPermi('system:rate:remove')")
+
     @Log(title = "办结率统计", businessType = BusinessType.DELETE)
     @DeleteMapping("/{ids}")
     public AjaxResult remove(@PathVariable Long[] ids) {

+ 0 - 6
zhsq_qk-admin/src/main/java/zhsq_qk/web/controller/system/QkZwyxHallHandlingController.java

@@ -37,7 +37,6 @@ public class QkZwyxHallHandlingController extends BaseController {
 /**
  * 查询大厅办件列表
  */
-@PreAuthorize("@ss.hasPermi('system:handling:list')")
 @GetMapping("/list")
     public TableDataInfo list(QkZwyxHallHandling qkZwyxHallHandling) {
         startPage();
@@ -48,7 +47,6 @@ public class QkZwyxHallHandlingController extends BaseController {
     /**
      * 导出大厅办件列表
      */
-    @PreAuthorize("@ss.hasPermi('system:handling:export')")
     @Log(title = "大厅办件", businessType = BusinessType.EXPORT)
     @PostMapping("/export")
     public void export(HttpServletResponse response, QkZwyxHallHandling qkZwyxHallHandling) {
@@ -60,7 +58,6 @@ public class QkZwyxHallHandlingController extends BaseController {
     /**
      * 获取大厅办件详细信息
      */
-    @PreAuthorize("@ss.hasPermi('system:handling:query')")
     @GetMapping(value = "/{id}")
     public AjaxResult getInfo(@PathVariable("id") Long id) {
         return success(qkZwyxHallHandlingService.selectQkZwyxHallHandlingById(id));
@@ -69,7 +66,6 @@ public class QkZwyxHallHandlingController extends BaseController {
     /**
      * 新增大厅办件
      */
-    @PreAuthorize("@ss.hasPermi('system:handling:add')")
     @Log(title = "大厅办件", businessType = BusinessType.INSERT)
     @PostMapping
     public AjaxResult add(@RequestBody QkZwyxHallHandling qkZwyxHallHandling) {
@@ -79,7 +75,6 @@ public class QkZwyxHallHandlingController extends BaseController {
     /**
      * 修改大厅办件
      */
-    @PreAuthorize("@ss.hasPermi('system:handling:edit')")
     @Log(title = "大厅办件", businessType = BusinessType.UPDATE)
     @PutMapping
     public AjaxResult edit(@RequestBody QkZwyxHallHandling qkZwyxHallHandling) {
@@ -89,7 +84,6 @@ public class QkZwyxHallHandlingController extends BaseController {
     /**
      * 删除大厅办件
      */
-    @PreAuthorize("@ss.hasPermi('system:handling:remove')")
     @Log(title = "大厅办件", businessType = BusinessType.DELETE)
     @DeleteMapping("/{ids}")
     public AjaxResult remove(@PathVariable Long[] ids) {

+ 0 - 6
zhsq_qk-admin/src/main/java/zhsq_qk/web/controller/system/QkZwyxHandlingDocumentsController.java

@@ -37,7 +37,6 @@ public class QkZwyxHandlingDocumentsController extends BaseController {
 /**
  * 查询即办件列表
  */
-@PreAuthorize("@ss.hasPermi('system:documents:list')")
 @GetMapping("/list")
     public TableDataInfo list(QkZwyxHandlingDocuments qkZwyxHandlingDocuments) {
         startPage();
@@ -48,7 +47,6 @@ public class QkZwyxHandlingDocumentsController extends BaseController {
     /**
      * 导出即办件列表
      */
-    @PreAuthorize("@ss.hasPermi('system:documents:export')")
     @Log(title = "即办件", businessType = BusinessType.EXPORT)
     @PostMapping("/export")
     public void export(HttpServletResponse response, QkZwyxHandlingDocuments qkZwyxHandlingDocuments) {
@@ -60,7 +58,6 @@ public class QkZwyxHandlingDocumentsController extends BaseController {
     /**
      * 获取即办件详细信息
      */
-    @PreAuthorize("@ss.hasPermi('system:documents:query')")
     @GetMapping(value = "/{id}")
     public AjaxResult getInfo(@PathVariable("id") Long id) {
         return success(qkZwyxHandlingDocumentsService.selectQkZwyxHandlingDocumentsById(id));
@@ -69,7 +66,6 @@ public class QkZwyxHandlingDocumentsController extends BaseController {
     /**
      * 新增即办件
      */
-    @PreAuthorize("@ss.hasPermi('system:documents:add')")
     @Log(title = "即办件", businessType = BusinessType.INSERT)
     @PostMapping
     public AjaxResult add(@RequestBody QkZwyxHandlingDocuments qkZwyxHandlingDocuments) {
@@ -79,7 +75,6 @@ public class QkZwyxHandlingDocumentsController extends BaseController {
     /**
      * 修改即办件
      */
-    @PreAuthorize("@ss.hasPermi('system:documents:edit')")
     @Log(title = "即办件", businessType = BusinessType.UPDATE)
     @PutMapping
     public AjaxResult edit(@RequestBody QkZwyxHandlingDocuments qkZwyxHandlingDocuments) {
@@ -89,7 +84,6 @@ public class QkZwyxHandlingDocumentsController extends BaseController {
     /**
      * 删除即办件
      */
-    @PreAuthorize("@ss.hasPermi('system:documents:remove')")
     @Log(title = "即办件", businessType = BusinessType.DELETE)
     @DeleteMapping("/{ids}")
     public AjaxResult remove(@PathVariable Long[] ids) {

+ 0 - 6
zhsq_qk-admin/src/main/java/zhsq_qk/web/controller/system/QkZwyxHighFrequencyMattersController.java

@@ -37,7 +37,6 @@ public class QkZwyxHighFrequencyMattersController extends BaseController {
 /**
  * 查询高频事项列表
  */
-@PreAuthorize("@ss.hasPermi('system:matters:list')")
 @GetMapping("/list")
     public TableDataInfo list(QkZwyxHighFrequencyMatters qkZwyxHighFrequencyMatters) {
         startPage();
@@ -48,7 +47,6 @@ public class QkZwyxHighFrequencyMattersController extends BaseController {
     /**
      * 导出高频事项列表
      */
-    @PreAuthorize("@ss.hasPermi('system:matters:export')")
     @Log(title = "高频事项", businessType = BusinessType.EXPORT)
     @PostMapping("/export")
     public void export(HttpServletResponse response, QkZwyxHighFrequencyMatters qkZwyxHighFrequencyMatters) {
@@ -60,7 +58,6 @@ public class QkZwyxHighFrequencyMattersController extends BaseController {
     /**
      * 获取高频事项详细信息
      */
-    @PreAuthorize("@ss.hasPermi('system:matters:query')")
     @GetMapping(value = "/{id}")
     public AjaxResult getInfo(@PathVariable("id") Long id) {
         return success(qkZwyxHighFrequencyMattersService.selectQkZwyxHighFrequencyMattersById(id));
@@ -69,7 +66,6 @@ public class QkZwyxHighFrequencyMattersController extends BaseController {
     /**
      * 新增高频事项
      */
-    @PreAuthorize("@ss.hasPermi('system:matters:add')")
     @Log(title = "高频事项", businessType = BusinessType.INSERT)
     @PostMapping
     public AjaxResult add(@RequestBody QkZwyxHighFrequencyMatters qkZwyxHighFrequencyMatters) {
@@ -79,7 +75,6 @@ public class QkZwyxHighFrequencyMattersController extends BaseController {
     /**
      * 修改高频事项
      */
-    @PreAuthorize("@ss.hasPermi('system:matters:edit')")
     @Log(title = "高频事项", businessType = BusinessType.UPDATE)
     @PutMapping
     public AjaxResult edit(@RequestBody QkZwyxHighFrequencyMatters qkZwyxHighFrequencyMatters) {
@@ -89,7 +84,6 @@ public class QkZwyxHighFrequencyMattersController extends BaseController {
     /**
      * 删除高频事项
      */
-    @PreAuthorize("@ss.hasPermi('system:matters:remove')")
     @Log(title = "高频事项", businessType = BusinessType.DELETE)
     @DeleteMapping("/{ids}")
     public AjaxResult remove(@PathVariable Long[] ids) {

+ 0 - 6
zhsq_qk-admin/src/main/java/zhsq_qk/web/controller/system/QkZwyxPublicSecurityDocumentsController.java

@@ -37,7 +37,6 @@ public class QkZwyxPublicSecurityDocumentsController extends BaseController {
 /**
  * 查询公安办件列表
  */
-@PreAuthorize("@ss.hasPermi('system:pdocuments:list')")
 @GetMapping("/list")
     public TableDataInfo list(QkZwyxPublicSecurityDocuments qkZwyxPublicSecurityDocuments) {
         startPage();
@@ -48,7 +47,6 @@ public class QkZwyxPublicSecurityDocumentsController extends BaseController {
     /**
      * 导出公安办件列表
      */
-    @PreAuthorize("@ss.hasPermi('system:pdocuments:export')")
     @Log(title = "公安办件", businessType = BusinessType.EXPORT)
     @PostMapping("/export")
     public void export(HttpServletResponse response, QkZwyxPublicSecurityDocuments qkZwyxPublicSecurityDocuments) {
@@ -60,7 +58,6 @@ public class QkZwyxPublicSecurityDocumentsController extends BaseController {
     /**
      * 获取公安办件详细信息
      */
-    @PreAuthorize("@ss.hasPermi('system:pdocuments:query')")
     @GetMapping(value = "/{id}")
     public AjaxResult getInfo(@PathVariable("id") Long id) {
         return success(qkZwyxPublicSecurityDocumentsService.selectQkZwyxPublicSecurityDocumentsById(id));
@@ -69,7 +66,6 @@ public class QkZwyxPublicSecurityDocumentsController extends BaseController {
     /**
      * 新增公安办件
      */
-    @PreAuthorize("@ss.hasPermi('system:pdocuments:add')")
     @Log(title = "公安办件", businessType = BusinessType.INSERT)
     @PostMapping
     public AjaxResult add(@RequestBody QkZwyxPublicSecurityDocuments qkZwyxPublicSecurityDocuments) {
@@ -79,7 +75,6 @@ public class QkZwyxPublicSecurityDocumentsController extends BaseController {
     /**
      * 修改公安办件
      */
-    @PreAuthorize("@ss.hasPermi('system:pdocuments:edit')")
     @Log(title = "公安办件", businessType = BusinessType.UPDATE)
     @PutMapping
     public AjaxResult edit(@RequestBody QkZwyxPublicSecurityDocuments qkZwyxPublicSecurityDocuments) {
@@ -89,7 +84,6 @@ public class QkZwyxPublicSecurityDocumentsController extends BaseController {
     /**
      * 删除公安办件
      */
-    @PreAuthorize("@ss.hasPermi('system:pdocuments:remove')")
     @Log(title = "公安办件", businessType = BusinessType.DELETE)
     @DeleteMapping("/{ids}")
     public AjaxResult remove(@PathVariable Long[] ids) {