| | |
| | | <result column="controllerId" jdbcType="BIGINT" property="controllerid" /> |
| | | <result column="intakeId" jdbcType="BIGINT" property="intakeid" /> |
| | | <result column="rtuAddr" jdbcType="VARCHAR" property="rtuaddr" /> |
| | | <result column="dt" jdbcType="DATE" property="dt" /> |
| | | <result column="rtuDt" jdbcType="DATE" property="rtudt" /> |
| | | <result column="dt" jdbcType="TIMESTAMP" property="dt" /> |
| | | <result column="rtuDt" jdbcType="TIMESTAMP" property="rtudt" /> |
| | | <result column="instantAmount" jdbcType="DOUBLE" property="instantamount" /> |
| | | <result column="totalAmount" jdbcType="DOUBLE" property="totalamount" /> |
| | | <result column="lossAmount" jdbcType="DOUBLE" property="lossamount" /> |
| | |
| | | batteryVolt, sunVolt, signalValue |
| | | ) |
| | | values (#{id,jdbcType=BIGINT}, #{controllerid,jdbcType=BIGINT}, #{intakeid,jdbcType=BIGINT}, |
| | | #{rtuaddr,jdbcType=VARCHAR}, #{dt,jdbcType=DATE}, #{rtudt,jdbcType=DATE}, #{instantamount,jdbcType=DOUBLE}, |
| | | #{rtuaddr,jdbcType=VARCHAR}, #{dt,jdbcType=TIMESTAMP}, #{rtudt,jdbcType=TIMESTAMP}, #{instantamount,jdbcType=DOUBLE}, |
| | | #{totalamount,jdbcType=DOUBLE}, #{lossamount,jdbcType=DOUBLE}, #{waterpress,jdbcType=DOUBLE}, |
| | | #{batteryvolt,jdbcType=DOUBLE}, #{sunvolt,jdbcType=DOUBLE}, #{signalvalue,jdbcType=INTEGER} |
| | | ) |
| | |
| | | #{rtuaddr,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="dt != null"> |
| | | #{dt,jdbcType=DATE}, |
| | | #{dt,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="rtudt != null"> |
| | | #{rtudt,jdbcType=DATE}, |
| | | #{rtudt,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="instantamount != null"> |
| | | #{instantamount,jdbcType=DOUBLE}, |
| | |
| | | rtuAddr = #{rtuaddr,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="dt != null"> |
| | | dt = #{dt,jdbcType=DATE}, |
| | | dt = #{dt,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="rtudt != null"> |
| | | rtuDt = #{rtudt,jdbcType=DATE}, |
| | | rtuDt = #{rtudt,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="instantamount != null"> |
| | | instantAmount = #{instantamount,jdbcType=DOUBLE}, |
| | |
| | | set controllerId = #{controllerid,jdbcType=BIGINT}, |
| | | intakeId = #{intakeid,jdbcType=BIGINT}, |
| | | rtuAddr = #{rtuaddr,jdbcType=VARCHAR}, |
| | | dt = #{dt,jdbcType=DATE}, |
| | | rtuDt = #{rtudt,jdbcType=DATE}, |
| | | dt = #{dt,jdbcType=TIMESTAMP}, |
| | | rtuDt = #{rtudt,jdbcType=TIMESTAMP}, |
| | | instantAmount = #{instantamount,jdbcType=DOUBLE}, |
| | | totalAmount = #{totalamount,jdbcType=DOUBLE}, |
| | | lossAmount = #{lossamount,jdbcType=DOUBLE}, |