| @@ -4,16 +4,18 @@ | |||||
| <resultMap id="BaseResultMap" type="com.iformall.domain.po.KwMeterData"> | <resultMap id="BaseResultMap" type="com.iformall.domain.po.KwMeterData"> | ||||
| <id column="id" jdbcType="BIGINT" property="id"/> | <id column="id" jdbcType="BIGINT" property="id"/> | ||||
| <result column="tenant_id" jdbcType="VARCHAR" property="tenantId"/> | <result column="tenant_id" jdbcType="VARCHAR" property="tenantId"/> | ||||
| <result column="meter_id" jdbcType="BIGINT" property="meteId"/> | |||||
| <result column="meter_id" jdbcType="BIGINT" property="meterId"/> | |||||
| <result column="box_id" jdbcType="BIGINT" property="boxId"/> | <result column="box_id" jdbcType="BIGINT" property="boxId"/> | ||||
| <result column="address" jdbcType="VARCHAR" property="address"/> | <result column="address" jdbcType="VARCHAR" property="address"/> | ||||
| <result column="total_power" jdbcType="INTEGER" property="totalPower"/> | <result column="total_power" jdbcType="INTEGER" property="totalPower"/> | ||||
| <result column="device_time" jdbcType="TIMESTAMP" property="deviceTime"/> | <result column="device_time" jdbcType="TIMESTAMP" property="deviceTime"/> | ||||
| <result column="create_time" jdbcType="TIMESTAMP" property="createTime"/> | <result column="create_time" jdbcType="TIMESTAMP" property="createTime"/> | ||||
| <result column="used_power" jdbcType="INTEGER" property="usedPower"/> | |||||
| <result column="last_device_time" jdbcType="TIMESTAMP" property="lastDeviceTime"/> | |||||
| </resultMap> | </resultMap> | ||||
| <sql id="allColumns"> | <sql id="allColumns"> | ||||
| `id`,`tenant_id`,`meter_id`,`box_id`,`address`,`total_power`,`device_time`,`create_time` | |||||
| `id`,`tenant_id`,`meter_id`,`box_id`,`address`,`total_power`,`device_time`,`create_time`,`used_power`,`last_device_time` | |||||
| </sql> | </sql> | ||||
| <sql id="dynamicWhereConditions"> | <sql id="dynamicWhereConditions"> | ||||