| | |
| | | <mapper namespace="com.sandu.ximon.dao.mapper.SingleLampDataMapper"> |
| | | |
| | | <resultMap id="BaseResultMap" type="com.sandu.ximon.dao.domain.SingleLampData"> |
| | | <id property="id" column="id" jdbcType="BIGINT"/> |
| | | <id property="userId" column="user_id" jdbcType="BIGINT"/> |
| | | <result property="lampName" column="lamp_name" jdbcType="VARCHAR"/> |
| | | <result property="mainsVoltage" column="mains_voltage" jdbcType="DOUBLE"/> |
| | | <result property="mainsCurrent" column="mains_current" jdbcType="DOUBLE"/> |
| | | <result property="temperature" column="temperature" jdbcType="DOUBLE"/> |
| | | <result property="powerFactor" column="power_factor" jdbcType="DOUBLE"/> |
| | | <result property="activePower" column="active_power" jdbcType="INTEGER"/> |
| | | <result property="lightingTime" column="lighting_time" jdbcType="TIMESTAMP"/> |
| | | <result property="electricityConsumption" column="electricity_eonsumption" jdbcType="DOUBLE"/> |
| | | <result property="totalAlectricityConsumption" column="total_electricity_eonsumption" jdbcType="DOUBLE"/> |
| | | <result property="lightPoleBrightness" column="light_pole_brightness" jdbcType="DOUBLE"/> |
| | | <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/> |
| | | <id property="id" column="id" jdbcType="BIGINT"/> |
| | | <result property="userId" column="user_id" jdbcType="BIGINT"/> |
| | | <result property="lampName" column="lamp_name" jdbcType="VARCHAR"/> |
| | | <result property="mainsVoltage" column="mains_voltage" jdbcType="DOUBLE"/> |
| | | <result property="mainsCurrent" column="mains_current" jdbcType="DOUBLE"/> |
| | | <result property="temperature" column="temperature" jdbcType="DOUBLE"/> |
| | | <result property="powerFactor" column="power_factor" jdbcType="DOUBLE"/> |
| | | <result property="imei" column="imei" jdbcType="VARCHAR"/> |
| | | <result property="iccId" column="icc_Id" jdbcType="VARCHAR"/> |
| | | <result property="activePower" column="active_power" jdbcType="INTEGER"/> |
| | | <result property="lightingTime" column="lighting_time" jdbcType="TIMESTAMP"/> |
| | | <result property="electricityEonsumption" column="electricity_eonsumption" jdbcType="DOUBLE"/> |
| | | <result property="totalElectricityEonsumption" column="total_electricity_eonsumption" jdbcType="DOUBLE"/> |
| | | <result property="lightPoleBrightness" column="light_pole_brightness" jdbcType="DOUBLE"/> |
| | | <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/> |
| | | </resultMap> |
| | | |
| | | </mapper> |
| | | |
| | | </mapper> |