debug - 電站啟用 - 世新圖書館
This commit is contained in:
parent
00d2cf0b3f
commit
e87d8b89e4
@ -5996,7 +5996,7 @@ namespace SolarPower.Repository.Implement
|
||||
try
|
||||
{
|
||||
// var sql = $@"SHOW INDEX from '{dbname}'.s{code}01_station where column_name <> 'ID';";
|
||||
var sql = $@"SELECT COUNT(1) index_count --, TABLE_NAME, GROUP_CONCAT(DISTINCT(index_name) SEPARATOR ',\n ') indexes
|
||||
var sql = $@"SELECT COUNT(1) index_count -- , TABLE_NAME, GROUP_CONCAT(DISTINCT(index_name) SEPARATOR ',\n ') indexes
|
||||
FROM INFORMATION_SCHEMA.STATISTICS
|
||||
WHERE TABLE_SCHEMA = '{dbname}' and table_name = 's{code}01_station'
|
||||
AND INDEX_NAME != 'primary'
|
||||
|
||||
@ -87,7 +87,6 @@ namespace SolarPower
|
||||
{
|
||||
options.IdleTimeout = TimeSpan.FromMinutes(loginExpireMinute);
|
||||
});
|
||||
services.AddApplicationInsightsTelemetry();
|
||||
|
||||
#region 加入背景執行
|
||||
//services.AddHostedService<OperationScheduleBackgroundService>();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user