From 559b2e34c983f615b6d6747f52c801022c561803 Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期一, 27 十月 2025 23:05:08 +0800
Subject: [PATCH] feat: 优化任务显示列表

---
 ruoyi-system/src/main/resources/mapper/system/VehicleInfoMapper.xml |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/VehicleInfoMapper.xml b/ruoyi-system/src/main/resources/mapper/system/VehicleInfoMapper.xml
index e329543..e44b722 100644
--- a/ruoyi-system/src/main/resources/mapper/system/VehicleInfoMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/VehicleInfoMapper.xml
@@ -62,6 +62,7 @@
             and v.car_id is not null and v.car_id != ''
             and v.dept_id is not null
             and v.status=0
+
         </where>
     </select>
     
@@ -74,6 +75,11 @@
         <include refid="selectVehicleInfoVo"/>
         where v.vehicle_no = #{plateNumber}
     </select>
+
+    <select id="selectVehicleInfoByVehicleNo" parameterType="String" resultMap="VehicleInfoResult">
+        <include refid="selectVehicleInfoVo"/>
+        where v.vehicle_no = #{vehicleNo}
+    </select>
         
     <insert id="insertVehicleInfo" parameterType="VehicleInfo" useGeneratedKeys="true" keyProperty="vehicleId">
         insert into tb_vehicle_info

--
Gitblit v1.9.1