Sfoglia il codice sorgente

接口草稿 - 新的选科表模型

hare8999@163.com 3 anni fa
parent
commit
f0ecaa2661
1 ha cambiato i file con 11 aggiunte e 6 eliminazioni
  1. 11 6
      doc/Mind/PrimaryElective.cs

+ 11 - 6
doc/Mind/PrimaryElective.cs

@@ -105,6 +105,13 @@ namespace mxdemo.Mind
 
         public bool selected;  // 已报名
         public int selectedRank; // 多志愿时的排序
+
+        // 5.13 去除动态列,改为固定字段 +
+        public int actualCount; // 阶段实际报名人数
+        public bool approved; // 已被正常录取
+        public bool forceAdjusted; // 已被调剂录取
+        public int groupApprovedCount; // 本组合已被录取人数(迭代值)
+        public int groupForceAdjustedCount; // 本组合已被强制调剂人数(迭代值)
     }
 
     public class ElectiveSelectGroupStatistics {
@@ -114,11 +121,8 @@ namespace mxdemo.Mind
     ;
     public class ElectiveSelectModelWrapper {
       public ElectiveSelectModel[] models;
-      // 动态追加字段 json 格式见 statColumn.json
-      ElectiveSelectGroupStatistics[] statColumns;
-
-      // 5.7 hht +字段 用于展示报告
-      public int[] prevPreferences; // 前一步未录取的报名组合
+      public int generation;
+      public long studentId;
     }
 
     // 自选专业
@@ -150,7 +154,8 @@ namespace mxdemo.Mind
         ElectiveSetting getStudentSelected();
 
         // 学生获取选科状态数据,得到是每个组合最终状态和结果
-        ElectiveSelectModelWrapper getStudentElectiveModels();
+        // 5.13 返回迭代至generation的多代选科表,如查询补录报名,即返回初录报名/初录结果/补录报名3代的模型集合
+        ElectiveSelectModelWrapper[] getStudentElectiveModels(long studentId, int generation);
 
         // 学生获取自选专业及匹配情况
         List<ElectiveOptionalMajor> getOptionalMajors();