You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
551 B
12 lines
551 B
<?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.wrj.driver.server.mapper.TdTenantCarMapper">
|
|
|
|
<select id="selectListByTenantId" resultType="com.wrj.driver.server.vo.CarVo">
|
|
select b.car_type_id, b.car_name, a.tenant_id from td_tenant_car a
|
|
left join td_car b on a.car_type_id = b.car_type_id
|
|
where a.is_active = '0' and b.is_active = '0'
|
|
and a.tenant_id = #{tenantId}
|
|
</select>
|
|
|
|
</mapper>
|
|
|