parent
7c0e39a43e
commit
6f312821df
|
|
@ -7,8 +7,8 @@
|
||||||
{
|
{
|
||||||
"UserName": "hy",
|
"UserName": "hy",
|
||||||
"Pwd": "9718CB3C9A0760CA326767D677ADEC1C",
|
"Pwd": "9718CB3C9A0760CA326767D677ADEC1C",
|
||||||
"Host": "192.168.2.21:10107",
|
"Host": "10.127.127.107",
|
||||||
"NickName": "",
|
"NickName": "10楼刀片机",
|
||||||
"IIsFireUrl": null,
|
"IIsFireUrl": null,
|
||||||
"DockerFireUrl": "",
|
"DockerFireUrl": "",
|
||||||
"WindowsServiceFireUrl": null,
|
"WindowsServiceFireUrl": null,
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
},
|
},
|
||||||
"DB": {
|
"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=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",
|
"SqlType": "MySql",
|
||||||
"UpdateTable": false
|
"UpdateTable": false
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -346,7 +346,7 @@ namespace VideoAnalysisCore.Common
|
||||||
Redis.HMSet(RedisExpandKey.Task(taskId), "Progress", 0);
|
Redis.HMSet(RedisExpandKey.Task(taskId), "Progress", 0);
|
||||||
lock (Redis)
|
lock (Redis)
|
||||||
{
|
{
|
||||||
DbScoped.Sugar.Updateable<VideoTask>()
|
DbScoped.SugarScope.Updateable<VideoTask>()
|
||||||
.SetColumns(it => it.LastEnum == key)
|
.SetColumns(it => it.LastEnum == key)
|
||||||
.Where(it => it.Id == tID)
|
.Where(it => it.Id == tID)
|
||||||
.ExecuteCommand();
|
.ExecuteCommand();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue