From 4f9707811eef19b7c9f59d587d05208b40a23b54 Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期四, 10 七月 2025 17:35:02 +0800 Subject: [PATCH] 增加redis锁 --- ManagementZYTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/general/TCarController.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/ManagementZYTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/general/TCarController.java b/ManagementZYTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/general/TCarController.java index f79c252..bb49833 100644 --- a/ManagementZYTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/general/TCarController.java +++ b/ManagementZYTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/general/TCarController.java @@ -621,6 +621,8 @@ @RequestMapping(value = "/updateAuth") @ResponseBody public Object updateAuth(TCar tCar,String zcModel,@RequestParam String serverBox) { + //删除业务 + tCarServiceService.delete(new EntityWrapper<TCarService>().eq("carId",tCar.getId())); //添加经营业务 if(tCar.getAuthState()==2){ String[] serverArray = serverBox.split(","); -- Gitblit v1.7.1