Ver Fonte

修改题型数据类型

zhouj1203@hotmail.com há 4 anos atrás
pai
commit
d96704a6f3

+ 1 - 1
TEAMModelOS.SDK/Models/Cosmos/School/ExamInfo.cs

@@ -108,7 +108,7 @@ namespace TEAMModelOS.SDK.Models
         public List<List<string>> answers { get; set; } = new List<List<string>>();
         public List<List<string>> knowledge { get; set; } = new List<List<string>>();
         //题目类型
-        public List<List<string>> type { get; set; } = new List<List<string>>();
+        public List<string> type { get; set; } = new List<string>();
         public List<int> field { get; set; } = new List<int>();
     }
     /*public class Condition

+ 1 - 1
TEAMModelOS/Controllers/Analysis/AnalysisController.cs

@@ -667,7 +667,7 @@ namespace TEAMModelOS.Controllers.Analysis
                         values.Add("-");
                     });
                     values[0] = (k + 1).ToString();
-                    values[1] = "";
+                    values[1] =  e.paper.type[k];
                     values[2] = topic[k].ToString();
                     values[3] = e.paper.point[k].ToString();
 /*                    List<string> sk = new List<string>();