| | |
| | | <result column="drivingLicensePhoto" property="drivingLicensePhoto"/> |
| | | <result column="annualInspectionTime" property="annualInspectionTime"/> |
| | | <result column="insurancePhoto" property="insurancePhoto" /> |
| | | <result column="peopleAndCarsPhone" property="peopleAndCarsPhone"/> |
| | | <result column="commercialInsuranceTime" property="commercialInsuranceTime"/> |
| | | <result column="insertTime" property="insertTime"/> |
| | | <result column="state" property="state"/> |
| | |
| | | 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"> |