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