From 64bfdd5d310d07c69deead7ebafc9b00fcb3258b Mon Sep 17 00:00:00 2001
From: wzp <2040239371@qq.com>
Date: 星期三, 14 五月 2025 14:00:25 +0800
Subject: [PATCH] fix:修复广交集团订单

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

diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/VehicleGpsServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/VehicleGpsServiceImpl.java
index 7dcfb56..8697cbe 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/VehicleGpsServiceImpl.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/VehicleGpsServiceImpl.java
@@ -38,11 +38,7 @@
     @Override
     public int insertVehicleGps(VehicleGps vehicleGps) {
         // 鏍规嵁杞︾墝鍙疯幏鍙栬溅杈咺D
-        Long vehicleId = vehicleGpsMapper.getVehicleIdByNo(vehicleGps.getVehicleNo());
-        if (vehicleId == null) {
-            throw new ServiceException("鏈壘鍒板搴旂殑杞﹁締淇℃伅");
-        }
-        vehicleGps.setVehicleId(vehicleId);
+       ;
         return vehicleGpsMapper.insertVehicleGps(vehicleGps);
     }
 

--
Gitblit v1.9.1