ard-work/src/main/resources/mapper/sy/ArdSyCarMapper.xml
@@ -187,4 +187,14 @@
            <if test="carBrand != null  and carBrand != ''"> and car_brand = #{carBrand}</if>
        </where>
    </select>
    <select id="selectArdSyCarAndTankLock" resultMap="ArdSyCarLockResult" >
       select "asc".id,"asc".car_id,"asc".car_model,"asc".car_type,
       "asc".car_brand,"asc".dept_id,"asc".car_picture,atl.id as lid,
       atl.lock_num,atl.lock_name,atl.img_position_top,atl.img_position_left,
       atl.car_id as lcar_id,atl.enable,coalesce(atl.restart_state,'') as restart_state,
       coalesce(atl.online_time,'') as online_time
       from ard_sy_car "asc"
       inner join ard_tank_lock atl on "asc".car_id = atl.car_id
       order by "asc".car_id desc,atl.lock_num
    </select>
</mapper>