Commit 42978028 authored by ma's avatar ma

解绑更新授权SN

parent e3dc1784
......@@ -28,7 +28,7 @@
</insert>
<update id="updateDeviceById" parameterType="iot.sixiang.license.entity.Device">
update device set sn_bind = #{snBind}, status = #{status}, update_time = #{updateTime} where device_id = #{deviceId}
update device set sn = #{sn}, sn_bind = #{snBind}, status = #{status}, update_time = #{updateTime} where device_id = #{deviceId}
</update>
</mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment