Commit 8ee9100e authored by 马33's avatar 马33

修改bug

parent b121a3ed
...@@ -27,4 +27,8 @@ ...@@ -27,4 +27,8 @@
values (#{sn}, #{appId}, now(), now()) values (#{sn}, #{appId}, now(), now())
</insert> </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>
</mapper> </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