From d5026897c1855e92191e60545dcfea58c2efdfb6 Mon Sep 17 00:00:00 2001
From: Lawrence <1934378145@qq.com>
Date: 星期日, 10 一月 2021 23:11:30 +0800
Subject: [PATCH] 修正回放错误,优化sdp排序,提高设备兼容性
---
src/main/java/com/genersoft/iot/vmp/storager/dao/ParentPlatformMapper.java | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/src/main/java/com/genersoft/iot/vmp/storager/dao/ParentPlatformMapper.java b/src/main/java/com/genersoft/iot/vmp/storager/dao/ParentPlatformMapper.java
index 4e7cd45..b0428cc 100644
--- a/src/main/java/com/genersoft/iot/vmp/storager/dao/ParentPlatformMapper.java
+++ b/src/main/java/com/genersoft/iot/vmp/storager/dao/ParentPlatformMapper.java
@@ -45,10 +45,15 @@
@Delete("DELETE FROM parent_platform WHERE deviceGBId=#{deviceGBId}")
int delParentPlatform(ParentPlatform parentPlatform);
-
@Select("SELECT * FROM parent_platform")
List<ParentPlatform> getParentPlatformList();
+ @Select("SELECT * FROM parent_platform WHERE enable=#{enable}")
+ List<ParentPlatform> getEnableParentPlatformList(boolean enable);
+
@Select("SELECT * FROM parent_platform WHERE deviceGBId=#{platformGbId}")
ParentPlatform getParentPlatById(String platformGbId);
+
+ @Update("UPDATE parent_platform SET status=false" )
+ void outlineForAllParentPlatform();
}
--
Gitblit v1.8.0