Pārlūkot izejas kodu

调整日志

datasub12_previous
H Vs pirms 11 mēnešiem
vecāks
revīzija
c5850f1be5
2 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. +1
    -0
      HealthMonitor.Service/Biz/db/TDengineService.cs
  2. +1
    -1
      HealthMonitor.Service/Resolver/BloodpressResolver.cs

+ 1
- 0
HealthMonitor.Service/Biz/db/TDengineService.cs Parādīt failu

@@ -145,6 +145,7 @@ namespace HealthMonitor.Service.Biz.db
// //TDengine.Options((int)TDengineInitOption.TSDB_OPTION_CONFIGDIR, configDir);
// TDengine.Options((int)TDengineInitOption.TSDB_OPTION_TIMEZONE, "Asia/Beijing");
//#endif
_logger.LogInformation($"Insert SQL: {sql}");
IntPtr res = TDengine.Query(conn, sql);
CheckRes(conn, res, "failed to insert data");
int affectedRows = TDengine.AffectRows(res);


+ 1
- 1
HealthMonitor.Service/Resolver/BloodpressResolver.cs Parādīt failu

@@ -209,7 +209,7 @@ namespace HealthMonitor.Service.Resolver
$"{systolicAvgOffset}," +
$"{diastolicAvgOffset}," +
$"'{startTime:yyyy-MM-dd HH:mm:ss.fff}'," +
$"'{endTime:yyyy-MM-dd HH:mm:ss.fff}'," +
$"'{endTime:yyyy-MM-dd HH:mm:ss.fff}'" +
$")";

_serviceTDengine.ExecuteInsertSQL(sql);


Notiek ielāde…
Atcelt
Saglabāt