| @@ -106,20 +106,20 @@ | |||||
| </update> | </update> | ||||
| <update id="unbindBatch" parameterType="java.lang.Long"> | <update id="unbindBatch" parameterType="java.lang.Long"> | ||||
| update kw_merchant_meter set bind_status = 1, box_id = 0 | |||||
| update kw_meter set bind_status = 1, box_id = 0 | |||||
| where bind_status = 0 | where bind_status = 0 | ||||
| and `box_id` = #{boxId} | and `box_id` = #{boxId} | ||||
| </update> | </update> | ||||
| <update id="unbind" parameterType="java.lang.Long"> | <update id="unbind" parameterType="java.lang.Long"> | ||||
| update kw_merchant_meter set bind_status = 1, box_id = 0 | |||||
| update kw_meter set bind_status = 1, box_id = 0 | |||||
| where bind_status = 0 | where bind_status = 0 | ||||
| and `id` = #{meterId} | and `id` = #{meterId} | ||||
| </update> | </update> | ||||
| <update id="bindBatch" parameterType="map"> | <update id="bindBatch" parameterType="map"> | ||||
| update kw_merchant_meter set bind_status = 0, box_id = #{boxId} | |||||
| update kw_meter set bind_status = 0, box_id = #{boxId} | |||||
| where id in | where id in | ||||
| <foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")"> | <foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")"> | ||||
| #{idItem} | #{idItem} | ||||
| @@ -127,7 +127,7 @@ | |||||
| </update> | </update> | ||||
| <update id="bind" parameterType="map"> | <update id="bind" parameterType="map"> | ||||
| update kw_merchant_meter set bind_status = 0, box_id = #{boxId} | |||||
| update kw_meter set bind_status = 0, box_id = #{boxId} | |||||
| where `id` = #{id} | where `id` = #{id} | ||||
| </update> | </update> | ||||