设备激活接口
This commit is contained in:
@ -1006,4 +1006,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<update id="updateDeviceActivationStatus">
|
||||
update iot_device
|
||||
set status = 3,
|
||||
active_time=#{activationTime},
|
||||
update_time=#{activationTime},
|
||||
tenant_id=#{tenantId},
|
||||
tenant_name=#{tenantName},
|
||||
longitude=#{longitude},
|
||||
latitude=#{latitude},
|
||||
img_url=#{imgUrl}
|
||||
where serial_number = #{serialNumber}
|
||||
</update>
|
||||
|
||||
</mapper>
|
||||
|
Reference in New Issue
Block a user