|
@@ -290,7 +290,7 @@ public class WebDbService
|
|
|
using SqlConnection conn = await webDbConnectionFactory.CreateAsync();
|
|
|
try
|
|
|
{
|
|
|
- bool? isPeriodEnergyRequired = await conn.QueryFirstOrDefaultAsync<bool?>(new CommandDefinition(setSql, parameters, cancellationToken: token));
|
|
|
+ int rows = await conn.ExecuteAsync(new CommandDefinition(setSql, parameters, cancellationToken: token));
|
|
|
}
|
|
|
catch (Exception e)
|
|
|
{
|