wlzboy
2025-10-26 91b4d899403587e6982c6f76674307cd5612b17b
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