1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?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.flightfeather.obd.domain.mapper.ObdDataMapper">
  <resultMap id="BaseResultMap" type="com.flightfeather.obd.domain.entity.ObdData">
    <!--
      WARNING - @mbg.generated
    -->
    <id column="id" jdbcType="INTEGER" property="id" />
    <result column="obd_vin" jdbcType="VARCHAR" property="obdVin" />
    <result column="obd_time" jdbcType="TIMESTAMP" property="obdTime" />
    <result column="obd_lng" jdbcType="DOUBLE" property="obdLng" />
    <result column="obd_lat" jdbcType="DOUBLE" property="obdLat" />
    <result column="obd_protocol" jdbcType="INTEGER" property="obdProtocol" />
    <result column="obd_mil" jdbcType="INTEGER" property="obdMil" />
    <result column="obd_id_code" jdbcType="VARCHAR" property="obdIdCode" />
    <result column="obd_verification_code" jdbcType="VARCHAR" property="obdVerificationCode" />
    <result column="obd_fault_code_num" jdbcType="INTEGER" property="obdFaultCodeNum" />
    <result column="obd_fault_code" jdbcType="VARCHAR" property="obdFaultCode" />
    <result column="obd_speed" jdbcType="INTEGER" property="obdSpeed" />
    <result column="obd_air_pressure" jdbcType="DOUBLE" property="obdAirPressure" />
    <result column="obd_engine_torque" jdbcType="DOUBLE" property="obdEngineTorque" />
    <result column="obd_friction_torque" jdbcType="DOUBLE" property="obdFrictionTorque" />
    <result column="obd_engine_rpm" jdbcType="INTEGER" property="obdEngineRpm" />
    <result column="obd_start_fuel_flow" jdbcType="DOUBLE" property="obdStartFuelFlow" />
    <result column="obd_scr_upstream_NO" jdbcType="DOUBLE" property="obdScrUpstreamNo" />
    <result column="obd_scr_downstream_NO" jdbcType="DOUBLE" property="obdScrDownstreamNo" />
    <result column="obd_remain_reactant" jdbcType="DOUBLE" property="obdRemainReactant" />
    <result column="obd_air_input" jdbcType="DOUBLE" property="obdAirInput" />
    <result column="obd_scr_input_temp" jdbcType="DOUBLE" property="obdScrInputTemp" />
    <result column="obd_scr_output_temp" jdbcType="DOUBLE" property="obdScrOutputTemp" />
    <result column="obd_DPF" jdbcType="DOUBLE" property="obdDpf" />
    <result column="obd_engine_coolant_temp" jdbcType="DOUBLE" property="obdEngineCoolantTemp" />
    <result column="obd_fuel_level" jdbcType="DOUBLE" property="obdFuelLevel" />
    <result column="obd_location_status" jdbcType="INTEGER" property="obdLocationStatus" />
    <result column="obd_total_mileage" jdbcType="DOUBLE" property="obdTotalMileage" />
    <result column="obd_engine_torque_mode" jdbcType="VARCHAR" property="obdEngineTorqueMode" />
    <result column="obd_accelerator_pedal" jdbcType="DOUBLE" property="obdAcceleratorPedal" />
    <result column="obd_total_oil_consumption" jdbcType="DOUBLE" property="obdTotalOilConsumption" />
    <result column="obd_urea_box_temp" jdbcType="DOUBLE" property="obdUreaBoxTemp" />
    <result column="obd_urea_volume" jdbcType="INTEGER" property="obdUreaVolume" />
    <result column="obd_total_urea_consume" jdbcType="DOUBLE" property="obdTotalUreaConsume" />
    <result column="obd_DPF_temp" jdbcType="DOUBLE" property="obdDpfTemp" />
    <result column="obd_firmware_version" jdbcType="VARCHAR" property="obdFirmwareVersion" />
  </resultMap>
  <sql id="Base_Column_List">
    <!--
      WARNING - @mbg.generated
    -->
    id, obd_vin, obd_time, obd_lng, obd_lat, obd_protocol, obd_mil, obd_id_code, obd_verification_code, 
    obd_fault_code_num, obd_fault_code, obd_speed, obd_air_pressure, obd_engine_torque, 
    obd_friction_torque, obd_engine_rpm, obd_start_fuel_flow, obd_scr_upstream_NO, obd_scr_downstream_NO, 
    obd_remain_reactant, obd_air_input, obd_scr_input_temp, obd_scr_output_temp, obd_DPF, 
    obd_engine_coolant_temp, obd_fuel_level, obd_location_status, obd_total_mileage, 
    obd_engine_torque_mode, obd_accelerator_pedal, obd_total_oil_consumption, obd_urea_box_temp, 
    obd_urea_volume, obd_total_urea_consume, obd_DPF_temp, obd_firmware_version
  </sql>
</mapper>