From c5ac97682e3b4ca748541ace97cb37a2295bd81e Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期四, 19 三月 2026 22:46:29 +0800
Subject: [PATCH] feat: 增加GPS清理后台任务

---
 ruoyi-system/src/main/java/com/ruoyi/system/service/impl/VehicleInfoServiceImpl.java |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/VehicleInfoServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/VehicleInfoServiceImpl.java
index 7c4bfd2..f276d8c 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/VehicleInfoServiceImpl.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/VehicleInfoServiceImpl.java
@@ -102,7 +102,6 @@
      * @return 缁撴灉
      */
     @Override
-    @Transactional
     public int insertVehicleInfo(VehicleInfo vehicleInfo) {
         int rows = vehicleInfoMapper.insertVehicleInfo(vehicleInfo);
         
@@ -130,8 +129,7 @@
      * @param vehicleInfo 杞﹁締淇℃伅
      * @return 缁撴灉
      */
-    @Override
-    @Transactional
+    @Override    
     public int updateVehicleInfo(VehicleInfo vehicleInfo) {
         // 鍙湁褰� deptIds 涓嶄负 null 鏃舵墠鏇存柊閮ㄩ棬鍏宠仈(閬垮厤涓嶅繀瑕佺殑閿佺珵浜�)
         if (vehicleInfo.getDeptIds() != null) {
@@ -194,7 +192,7 @@
      * @return 缁撴灉
      */
     @Override
-    @Transactional
+    
     public int bindVehicleToUser(Long userId, Long vehicleId) {
         // 鍏堣В缁戠敤鎴风殑鎵�鏈夎溅杈嗭紙涓氬姟閫昏緫锛氫竴涓敤鎴峰悓鏃跺彧鑳界粦瀹氫竴杈嗚溅锛�
         vehicleInfoMapper.unbindAllVehiclesFromUser(userId);

--
Gitblit v1.9.1