|
|
|
@ -2535,11 +2535,11 @@ namespace OpenAuth.App.ServiceApp
|
|
|
|
|
{
|
|
|
|
|
db.Ado.BeginTran();
|
|
|
|
|
await db.Updateable(task).IgnoreNullColumns().ExecuteCommandAsync();
|
|
|
|
|
var config = ConfigHelper.GetConfigRoot();
|
|
|
|
|
/*var config = ConfigHelper.GetConfigRoot();
|
|
|
|
|
var url = config["AIModelApi:Url"];
|
|
|
|
|
// 结束智能巡检
|
|
|
|
|
using var httpClient = new HttpClient();
|
|
|
|
|
await httpClient.PostAsync($"{url}/stop_detection", null);
|
|
|
|
|
await httpClient.PostAsync($"{url}/stop_detection", null);*/
|
|
|
|
|
db.Ado.CommitTran();
|
|
|
|
|
}
|
|
|
|
|
catch (Exception ex)
|
|
|
|
|