wangzhuo 2 سال پیش
والد
کامیت
a84657b6c6
1فایلهای تغییر یافته به همراه0 افزوده شده و 7 حذف شده
  1. 0 7
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/warehouse/finance/TInvoiceController.java

+ 0 - 7
ruoyi-admin/src/main/java/com/ruoyi/web/controller/warehouse/finance/TInvoiceController.java

@@ -55,7 +55,6 @@ public class TInvoiceController extends BaseController {
     /**
     /**
      * 导出财务数据主列表
      * 导出财务数据主列表
      */
      */
-    @PreAuthorize("@ss.hasPermi('finance:invoice:export')")
     @Log(title = "财务数据主", businessType = BusinessType.EXPORT)
     @Log(title = "财务数据主", businessType = BusinessType.EXPORT)
     @DataScope(deptAlias = "d", userAlias = "u")
     @DataScope(deptAlias = "d", userAlias = "u")
     @GetMapping("/export")
     @GetMapping("/export")
@@ -71,7 +70,6 @@ public class TInvoiceController extends BaseController {
     /**
     /**
      * 获取财务数据主详细信息
      * 获取财务数据主详细信息
      */
      */
-    @PreAuthorize("@ss.hasPermi('finance:invoice:query')")
     @GetMapping(value = "/{fId}")
     @GetMapping(value = "/{fId}")
     public AjaxResult getInfo(@PathVariable("fId") Long fId) {
     public AjaxResult getInfo(@PathVariable("fId") Long fId) {
         return AjaxResult.success(tFeeService.selectTFeeById(fId));
         return AjaxResult.success(tFeeService.selectTFeeById(fId));
@@ -80,7 +78,6 @@ public class TInvoiceController extends BaseController {
     /**
     /**
      * 新增财务数据主
      * 新增财务数据主
      */
      */
-    @PreAuthorize("@ss.hasPermi('finance:invoice:add')")
     @Log(title = "财务数据主", businessType = BusinessType.INSERT)
     @Log(title = "财务数据主", businessType = BusinessType.INSERT)
     @PostMapping(value = "/add")
     @PostMapping(value = "/add")
     @RepeatSubmit
     @RepeatSubmit
@@ -109,7 +106,6 @@ public class TInvoiceController extends BaseController {
     /**
     /**
      * 发票查询
      * 发票查询
      */
      */
-    @PreAuthorize("@ss.hasPermi('finance:invoice:list')")
     @GetMapping("/invoiceList")
     @GetMapping("/invoiceList")
     public TableDataInfo chargeList(TWareHouseFees tWareHouseFees) {
     public TableDataInfo chargeList(TWareHouseFees tWareHouseFees) {
         startPage();
         startPage();
@@ -120,7 +116,6 @@ public class TInvoiceController extends BaseController {
     /**
     /**
      * 确认收费
      * 确认收费
      */
      */
-    @PreAuthorize("@ss.hasPermi('finance:invoice:add')")
     @Log(title = "财务数据主", businessType = BusinessType.INSERT)
     @Log(title = "财务数据主", businessType = BusinessType.INSERT)
     @PostMapping(value = "/confirm")
     @PostMapping(value = "/confirm")
     @RepeatSubmit
     @RepeatSubmit
@@ -135,7 +130,6 @@ public class TInvoiceController extends BaseController {
     /**
     /**
      * 撤销收费
      * 撤销收费
      */
      */
-    @PreAuthorize("@ss.hasPermi('finance:invoice:revoke')")
     @Log(title = "财务数据主", businessType = BusinessType.INSERT)
     @Log(title = "财务数据主", businessType = BusinessType.INSERT)
     @PostMapping(value = "/revoke")
     @PostMapping(value = "/revoke")
     @RepeatSubmit
     @RepeatSubmit
@@ -149,7 +143,6 @@ public class TInvoiceController extends BaseController {
     /**
     /**
      * 导出入库详情主表列表
      * 导出入库详情主表列表
      */
      */
-    @GetMapping("/exportItems/{fId}")
     public AjaxResult exportItems(@PathVariable("fId") Long fId) {
     public AjaxResult exportItems(@PathVariable("fId") Long fId) {
         List<Detailed> list = tFeeService.selectDetailedList(fId);
         List<Detailed> list = tFeeService.selectDetailedList(fId);
         String exportName = tFeeService.findCtrlcorpid(fId);
         String exportName = tFeeService.findCtrlcorpid(fId);