|
@@ -32,6 +32,7 @@ using TEAMModelOS.SDK.Services;
|
|
|
using TEAMModelOS.SDK.Models.Service.BI;
|
|
|
|
|
|
using TEAMModelOS.SDK.Models.Service;
|
|
|
+using HTEXLib.DOCX.Models;
|
|
|
|
|
|
namespace TEAMModelOS.Controllers.Learn
|
|
|
{
|
|
@@ -512,10 +513,16 @@ namespace TEAMModelOS.Controllers.Learn
|
|
|
request.TryGetProperty("hasPrime", out JsonElement _hasPrime);
|
|
|
request.TryGetProperty("answer", out JsonElement _answer);
|
|
|
string partitionKey = $"HomeworkRecord-{userid}";
|
|
|
+ string cnt = userid;
|
|
|
+
|
|
|
+
|
|
|
if ($"{_scope}".Equals(Constant.ScopeStudent))
|
|
|
{
|
|
|
+ cnt=school;
|
|
|
partitionKey = $"HomeworkRecord-{school}-{userid}";
|
|
|
}
|
|
|
+
|
|
|
+ await BlobService.RefreshBlobRoot(new BlobRefreshMessage { progress = "update", root = $"homework", name =cnt}, _serviceBus, _configuration, _azureRedis);
|
|
|
List<Attachment> content = _content.ToObject<List<Attachment>>();
|
|
|
|
|
|
int taskStatus = -1;
|