puzhibing
2023-02-11 76368e3f45acaf795f6f0faf56044c786341f726
DriverIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/CarMapper.xml
@@ -53,8 +53,7 @@
        from t_car a
        left join t_car_model b on (a.carModelId = b.id)
        left join t_car_brand c on (b.brandId = c.id)
        where a.state = 1
        and a.driverId=#{driverId}
        where a.state = 1 and authState != 4 and a.driverId=#{driverId} and a.id != (select carId from t_driver where id = #{driverId})
    </select>
    <select id="query" resultType="com.stylefeng.guns.modular.system.model.Car">