From 4f53785c3f435d49829782bbbc5cc5ffd96ed9b9 Mon Sep 17 00:00:00 2001 From: zjh <1084500556@qq.com> Date: 星期三, 13 九月 2023 16:48:19 +0800 Subject: [PATCH] zjh 2023/09/13---5 --- ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjOrderController.java | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjOrderController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjOrderController.java index e28c260..4c7dad4 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjOrderController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjOrderController.java @@ -132,7 +132,7 @@ /** * 鏌ヨ浣撴璁板綍鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:order:list')") +// @PreAuthorize("@ss.hasPermi('hosp:order:list')") @GetMapping("/list") @ApiOperation(value = "鏌ヨ浣撴璁板綍鍒楄〃(榛樿)") public TableDataInfo list(TjOrder tjOrder) { @@ -703,7 +703,7 @@ /** * 瀵煎嚭浣撴璁板綍鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:order:export')") +// @PreAuthorize("@ss.hasPermi('hosp:order:export')") @Log(title = "浣撴璁板綍", businessType = BusinessType.EXPORT) @PostMapping("/export") @ApiOperation(value = "瀵煎嚭浣撴璁板綍鍒楄〃") @@ -717,7 +717,7 @@ /** * 鑾峰彇浣撴璁板綍璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('hosp:order:query')") +// @PreAuthorize("@ss.hasPermi('hosp:order:query')") @GetMapping(value = "/{orderId}") @ApiOperation(value = "鑾峰彇浣撴璁板綍璇︾粏淇℃伅") public AjaxResult getInfo(@PathVariable("orderId") Long orderId) { @@ -858,7 +858,9 @@ //涓汉 if ("2".equals(tjOrder.getTjType())) { - asyncService.extracted(tjOrder, tjCustomer, discount, sysUser, tjReservation, tjFlowingWater); +// asyncService.extracted(tjOrder, tjCustomer, discount, sysUser, tjReservation, tjFlowingWater); + + asyncService.newSaveextracted(tjOrder, tjCustomer, discount, sysUser, tjReservation, tjFlowingWater); } return AjaxResult.success(tjNumber); } @@ -869,7 +871,7 @@ /** * 淇敼浣撴璁板綍 */ - @PreAuthorize("@ss.hasPermi('hosp:order:edit')") +// @PreAuthorize("@ss.hasPermi('hosp:order:edit')") @Log(title = "浣撴璁板綍", businessType = BusinessType.UPDATE) @PutMapping @ApiOperation(value = "淇敼浣撴璁板綍") @@ -880,7 +882,7 @@ /** * 鍒犻櫎浣撴璁板綍 */ - @PreAuthorize("@ss.hasPermi('hosp:order:remove')") +// @PreAuthorize("@ss.hasPermi('hosp:order:remove')") @Log(title = "浣撴璁板綍", businessType = BusinessType.DELETE) @DeleteMapping("/{orderIds}") @ApiOperation(value = "鍒犻櫎浣撴璁板綍") -- Gitblit v1.8.0