|
@@ -22,6 +22,7 @@
|
|
|
<result property="delFlag" column="del_flag"/>
|
|
|
<result property="rechargeTimes" column="recharge_times"/>
|
|
|
<result property="active" column="active_"/>
|
|
|
+ <result property="warningValue" column="warning_value"/>
|
|
|
</resultMap>
|
|
|
<insert id="insert" parameterType="com.jpsoft.smart.modules.base.entity.ElectricClientInfo">
|
|
|
<!--
|
|
@@ -33,7 +34,7 @@
|
|
|
insert into base_electric_client_info
|
|
|
(id_,customer_no,room_id,meter_id,electricity_total,amount_total,buy_num,
|
|
|
electricity_remaining,amount_remaining,create_by,create_time,update_by,
|
|
|
- update_time,del_flag,recharge_times,active_)
|
|
|
+ update_time,del_flag,recharge_times,active_,warning_value)
|
|
|
values
|
|
|
(
|
|
|
#{id,jdbcType=VARCHAR}
|
|
@@ -52,6 +53,7 @@
|
|
|
,#{delFlag,jdbcType= NUMERIC }
|
|
|
,#{rechargeTimes,jdbcType= NUMERIC }
|
|
|
,#{active,jdbcType= NUMERIC }
|
|
|
+ ,#{warningValue,jdbcType= NUMERIC }
|
|
|
)
|
|
|
]]>
|
|
|
</insert>
|
|
@@ -106,6 +108,9 @@
|
|
|
<if test="active!=null">
|
|
|
active_=#{active,jdbcType= NUMERIC },
|
|
|
</if>
|
|
|
+ <if test="warningValue!=null">
|
|
|
+ warning_value=#{warningValue,jdbcType= NUMERIC },
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where id_=#{id}
|
|
|
</update>
|