mirror of
https://gitee.com/ThingsGateway/ThingsGateway.git
synced 2025-10-29 06:33:58 +08:00
fix: taos插件查询错误
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<Project>
|
||||
|
||||
<PropertyGroup>
|
||||
<PluginVersion>10.6.13</PluginVersion>
|
||||
<ProPluginVersion>10.6.13</ProPluginVersion>
|
||||
<PluginVersion>10.6.14</PluginVersion>
|
||||
<ProPluginVersion>10.6.14</ProPluginVersion>
|
||||
<AuthenticationVersion>2.1.7</AuthenticationVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
@@ -101,7 +101,7 @@ public partial class TDengineDBProducer : BusinessBaseWithCacheIntervalVariableM
|
||||
internal ISugarQueryable<TDengineDBHistoryValue> Query(DBHistoryValuePageInput input)
|
||||
{
|
||||
var db = TDengineDBUtil.GetDb(_driverPropertys.DbType, _driverPropertys.BigTextConnectStr, _driverPropertys.TableNameLow);
|
||||
var query = db.Queryable<TDengineDBHistoryValue>()
|
||||
var query = db.Queryable<TDengineDBHistoryValue>().AsTDengineSTable()
|
||||
.WhereIF(input.StartTime != null, a => a.CreateTime >= input.StartTime)
|
||||
.WhereIF(input.EndTime != null, a => a.CreateTime <= input.EndTime)
|
||||
.WhereIF(!string.IsNullOrEmpty(input.VariableName), it => it.Name.Contains(input.VariableName))
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<Version>10.6.13</Version>
|
||||
<Version>10.6.14</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user