fix 升级changedb; 处理人脸token解析问题

This commit is contained in:
2024-02-26 16:48:04 +08:00
parent 55b6e957fe
commit b7a6e5e8db
6 changed files with 31 additions and 10 deletions

View File

@@ -229,7 +229,7 @@ public class GainfoService : IGainfoService
Face = request.Face
};
await dbContext.Insertable(face).ExecuteCommandAsync();
await dbContext.InsertAsync(face);
}
else
{
@@ -240,7 +240,7 @@ public class GainfoService : IGainfoService
}
face.Face = request.Face;
await dbContext.Updateable(face).ExecuteCommandAsync();
await dbContext.UpdateAsync(face);
}
//生成任务
@@ -270,7 +270,7 @@ public class GainfoService : IGainfoService
Face = request.Face
};
await dbContext.Insertable(face).ExecuteCommandAsync();
await dbContext.InsertAsync(face);
}
else
{
@@ -281,7 +281,7 @@ public class GainfoService : IGainfoService
}
face.Face = request.Face;
await dbContext.Updateable(face).ExecuteCommandAsync();
await dbContext.UpdateAsync(face);
}
//生成任务