Răsfoiți Sursa

fix:客户管理循环委托导出权限修改

ly 9 luni în urmă
părinte
comite
14d887f32f

+ 2 - 2
src/main/java/cn/ezhizao/project/business/workOrder/controller/WorkOrderServiceController.java

@@ -141,7 +141,7 @@ public class WorkOrderServiceController extends BaseController {
 
     //导出循环工单
     @Log(title = "循环工单", businessType = BusinessType.EXPORT)
-    @PreAuthorize("@ss.hasPermi('business:customer:service:loop:exportLoop')")
+    @PreAuthorize("@ss.hasPermi('business:customer:service:loop:export')")
     @PostMapping("/exportLoop")
     @distributedLock(prefix = "crmServiceExport",key = "@tenantId")
     public void exportLoop(HttpServletResponse response, BizWorkOrder bizWorkOrder) throws NoSuchFieldException, IllegalAccessException {
@@ -201,7 +201,7 @@ public class WorkOrderServiceController extends BaseController {
 
     //导出单次工单
     @Log(title = "单次工单", businessType = BusinessType.EXPORT)
-    @PreAuthorize("@ss.hasPermi('business:customer:service:once:exportOnce')")
+    @PreAuthorize("@ss.hasPermi('business:customer:service:once:export')")
     @PostMapping("/exportOnce")
     @distributedLock(prefix = "crmServiceExportOnce",key = "@tenantId")
     public void exportOnce(HttpServletResponse response, BizWorkOrder bizWorkOrder) throws NoSuchFieldException, IllegalAccessException {