<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.muyu.mapper.CarTypeMapper">

    <select id="selectCarTypeRespList" resultType="com.muyu.domain.resp.CarTypeResp">
        SELECT
            *,
            t_template.template_name
        FROM
            car_type
                LEFT JOIN t_template ON car_type.template_id = t_template.template_id
        where car_type.id=#{id}
    </select>
</mapper>
