连接IoTDB数据库
parent
455e208dca
commit
c94b92fb9b
|
@ -7,6 +7,7 @@ import org.apache.ibatis.annotations.Param;
|
|||
|
||||
|
||||
public interface CarTypeMapper extends BaseMapper<CarType> {
|
||||
CarType findCarTypeById(@Param("carTypeId") Long carTypeId);
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -17,6 +17,6 @@ public interface SysCarMapper extends BaseMapper<SysCar> {
|
|||
|
||||
SysCarVo selectSysCarVoById(@Param("id") Long id);
|
||||
|
||||
SysCar findCarByVin(@Param("carVin") String carVin);
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -4,8 +4,5 @@
|
|||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.muyu.mapper.CarTypeMapper">
|
||||
|
||||
<select id="findCarTypeById" resultType="com.muyu.domain.CarType">
|
||||
select * from car_type where id=#{carTypeId}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
|
|
@ -38,7 +38,5 @@
|
|||
LEFT JOIN tb_fence ON sys_car.fence_id=tb_fence.fence_id
|
||||
where sys_car.id=#{id}
|
||||
</select>
|
||||
<select id="findCarByVin" resultType="com.muyu.domain.SysCar">
|
||||
select * from sys_car where car_vin=#{carVin}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
|
Loading…
Reference in New Issue