Przeglądaj źródła

活动中间件新增字段

zhouj1203@hotmail.com 3 lat temu
rodzic
commit
83f5a789bc

+ 2 - 0
TEAMModelOS.FunctionV4/CosmosDB/TriggerExam.cs

@@ -731,6 +731,7 @@ namespace TEAMModelOS.FunctionV4
                         owner = info.owner,
                         owner = info.owner,
                         createTime = info.createTime,
                         createTime = info.createTime,
                         taskStatus = ts,
                         taskStatus = ts,
+                        qamode = info.qamode,
                         ext = new Dictionary<string, JsonElement>() { { "type", info.type.ToJsonString().ToObject<JsonElement>() }, { "subjects", info.subjects.ToJsonString().ToObject<JsonElement>() } },
                         ext = new Dictionary<string, JsonElement>() { { "type", info.type.ToJsonString().ToObject<JsonElement>() }, { "subjects", info.subjects.ToJsonString().ToObject<JsonElement>() } },
                         sStatus = iss ? 1 : 0,
                         sStatus = iss ? 1 : 0,
                         classIds = classIds.ToList()
                         classIds = classIds.ToList()
@@ -808,6 +809,7 @@ namespace TEAMModelOS.FunctionV4
                         owner = info.owner,
                         owner = info.owner,
                         classIds = classIds.ToList(),
                         classIds = classIds.ToList(),
                         createTime = info.createTime,
                         createTime = info.createTime,
+                        qamode = info.qamode,
                         ext = new Dictionary<string, JsonElement>() { { "type", info.type.ToJsonString().ToObject<JsonElement>() },
                         ext = new Dictionary<string, JsonElement>() { { "type", info.type.ToJsonString().ToObject<JsonElement>() },
                             { "subjects", info.subjects.ToJsonString().ToObject<JsonElement>() } },
                             { "subjects", info.subjects.ToJsonString().ToObject<JsonElement>() } },
                         taskStatus = ts,
                         taskStatus = ts,

+ 2 - 0
TEAMModelOS.SDK/Models/Cosmos/Common/StuActivity.cs

@@ -71,6 +71,8 @@ namespace TEAMModelOS.SDK.Models
         public Dictionary<string, JsonElement> ext { get; set; } = new Dictionary<string, JsonElement>();
         public Dictionary<string, JsonElement> ext { get; set; } = new Dictionary<string, JsonElement>();
         /// 评分状态,0,未评分, 1已评分
         /// 评分状态,0,未评分, 1已评分
         public int sStatus { get; set; } = 0;
         public int sStatus { get; set; } = 0;
+        //评测 纸本1或者书面问答0
+        public int qamode { get; set; } = 0;
         //标记作业活动是否比交
         //标记作业活动是否比交
         public bool mustSubmit { get; set; } = false;
         public bool mustSubmit { get; set; } = false;
     }
     }