Sfoglia il codice sorgente

备案单证权限

zhangchenm 4 giorni fa
parent
commit
2d1cb09383

+ 3 - 3
trade-admin/src/main/java/com/trade/admin/trade/filingdoc/controller/FilingDocController.java

@@ -63,7 +63,7 @@ public class FilingDocController {
      * @return 备案单证列表
      */
     @RequestMapping("/list")
-    @PreAuthorize("@ss.hasPermi('trade:filingDoc:list')")
+    @PreAuthorize("@ss.hasPermi('financial:taxManage:filingDoc')")
     public ResponseResult<GridPage<TaxRebateSummaryDataDto>> getSummaryDataByPage(TaxRebateSummarySearchDto search) {
         // 直接复用退税汇总页面,数据一致
         return ResponseResult.success(exportTaxRebateService.getTaxRebateSummaryDataPagesBySearch(search));
@@ -73,7 +73,7 @@ public class FilingDocController {
      * 出口单证列表
      */
     @RequestMapping("/exportDocList")
-    @PreAuthorize("@ss.hasPermi('trade:filingDoc:exportDoc:list')")
+    @PreAuthorize("@ss.hasPermi('financial:taxManage:filingDocView')")
     public ResponseResult<PageInfo<SalesContract4FilingDocVO>> salesContracts(Contract4FilingDocSearch search) {
         return ResponseResult.success(salesContractService.queryList4FilingDocBySearch(search));
     }
@@ -82,7 +82,7 @@ public class FilingDocController {
      * 进货单证列表
      */
     @RequestMapping("/purchaseDocList")
-    @PreAuthorize("@ss.hasPermi('trade:filingDoc:purchaseDoc:list')")
+    @PreAuthorize("@ss.hasPermi('financial:taxManage:filingDocView')")
     public ResponseResult<PageInfo<PurchaseContract4FilingDocVO>> purchaseContracts(Contract4FilingDocSearch search) {
         return ResponseResult.success(purchasingContractService.queryList4FilingDocBySearch(search));
     }