parent
7c0e39a43e
commit
6f312821df
|
|
@ -7,8 +7,8 @@
|
|||
{
|
||||
"UserName": "hy",
|
||||
"Pwd": "9718CB3C9A0760CA326767D677ADEC1C",
|
||||
"Host": "192.168.2.21:10107",
|
||||
"NickName": "",
|
||||
"Host": "10.127.127.107",
|
||||
"NickName": "10楼刀片机",
|
||||
"IIsFireUrl": null,
|
||||
"DockerFireUrl": "",
|
||||
"WindowsServiceFireUrl": null,
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
},
|
||||
"DB": {
|
||||
//"ConnectionString": "AllowLoadLocalInfile=true;Server=10.255.255.3;Port=3306;Database=learn.videoanalysis;User ID=marking;Password=qwe123!@#;CharSet=utf8mb4;pooling=true;SslMode=None",
|
||||
"ConnectionString": "AllowLoadLocalInfile=true;Server=rm-2vc20nd3d11g0oh6g.rwlb.cn-chengdu.rds.aliyuncs.com;User ID=marking;Password=poiuytPOIUYT098765)(*&^%;Port=3306;Database=learn.videoanalysis;CharSet=utf8mb4;pooling=true;SslMode=None",
|
||||
"ConnectionString": "AllowLoadLocalInfile=true;Server=rm-2vc20nd3d11g0oh6g2o.rwlb.cn-chengdu.rds.aliyuncs.com;User ID=marking;Password=poiuytPOIUYT098765)(*&^%;Port=3306;Database=learn.videoanalysis;CharSet=utf8mb4;pooling=true;SslMode=None",
|
||||
"SqlType": "MySql",
|
||||
"UpdateTable": false
|
||||
}
|
||||
|
|
|
|||
|
|
@ -346,7 +346,7 @@ namespace VideoAnalysisCore.Common
|
|||
Redis.HMSet(RedisExpandKey.Task(taskId), "Progress", 0);
|
||||
lock (Redis)
|
||||
{
|
||||
DbScoped.Sugar.Updateable<VideoTask>()
|
||||
DbScoped.SugarScope.Updateable<VideoTask>()
|
||||
.SetColumns(it => it.LastEnum == key)
|
||||
.Where(it => it.Id == tID)
|
||||
.ExecuteCommand();
|
||||
|
|
|
|||
Loading…
Reference in New Issue