Browse Source

fix:委托管理对账单权限修改

ly 10 months ago
parent
commit
0b7ec241c3

+ 2 - 2
src/main/java/cn/ezhizao/project/business/deduct/controller/BizDeductController.java

@@ -92,7 +92,7 @@ public class BizDeductController extends BaseController {
     /**
      * 查询扣款记录列表
      */
-    @PreAuthorize("@ss.hasPermi('business:deduct:list')")
+    @PreAuthorize("@ss.hasAnyPermi('business:deduct:list,business:entrustOrder:statement:list')")
     @GetMapping("/list")
     public TableDataInfo list(BizDeduct bizDeduct) throws NoSuchFieldException, IllegalAccessException {
         setTenantId(bizDeduct);
@@ -102,7 +102,7 @@ public class BizDeductController extends BaseController {
         return getDataTable(list);
     }
 
-    @PreAuthorize("@ss.hasPermi('business:deduct:list')")
+    @PreAuthorize("@ss.hasAnyPermi('business:deduct:list,business:entrustOrder:statement:list')")
     @GetMapping("/getEntrustOrder/{id}")
     public AjaxResult getEntrustOrder(@PathVariable("id") Long id) throws NoSuchFieldException, IllegalAccessException {
         BizEntrustOrder bizEntrustOrder = bizEntrustOrderService.getById(id);