|
@@ -366,7 +366,7 @@ namespace mxdemo.Mind
|
|
|
string description; // 一志愿 二志愿 三志愿 初选报名 初选录取 未录取(能显示匹配算法具体原因更好) 推荐 补录报名 ...
|
|
|
ElectiveGenerationRankDescriptor[] rankDescriptors; // 与匹配算法相关的数据提供,之所以定义成这样,是这些项极有可能还会进一步调整
|
|
|
/* rankDescriptors 估计需要边做边整理了:
|
|
|
- * Primary [{ 'expected', 250, '设置人数'},{'actual', 287, '报名人数'},{'inTimeRankInGrade', 267, '实时排名'}] 所有报名的人都会产生
|
|
|
+ * Primary [{ 'expected', 250, '设置人数'},{'inTimeRankInGrade', 267, '实时排名'}] 所有报名的人都会产生
|
|
|
* PrimaryDM [{'indicate', 25, '补录指标'},{'bestGroupSum', '最优分组人数'}, {'rankInIndicate', 19, '成绩最优排名'}] 未录取需要参与补录的人会产生新的统计维度
|
|
|
* 注:最优分组人数与成绩最优排名是指:有补录指标的组合,在剩余待补录的人员中的最好成绩所在组合的总人数与自己的排名情况
|
|
|
* ... 后面的generation以此类推
|
|
@@ -396,6 +396,18 @@ namespace mxdemo.Mind
|
|
|
public string datetime { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
|
|
|
}
|
|
|
|
|
|
+ public class ElectiveGroupGenerationStatistic
|
|
|
+ {
|
|
|
+ public int groupId;
|
|
|
+ ElectiveGenerationRankDescriptor[] descriptors;
|
|
|
+ }
|
|
|
+
|
|
|
+ public class ElectiveGenerationDetailWrapper
|
|
|
+ {
|
|
|
+ ElectiveGroupGenerationStatistic[] groupDescriptors; // 迭代至当前代的组合统计信息,主要统计指标(缺少人数)与实报(实际报名人数)
|
|
|
+ ElectiveGenerationDetail[] details; // 学生明细
|
|
|
+ }
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// 初选报名搭配使用,展示其它可报组合情况
|
|
|
/// </summary>
|
|
@@ -421,7 +433,7 @@ namespace mxdemo.Mind
|
|
|
/// <param name="groupId">针对组合的查询会传,否则传0或者''(具体看返回的时候给的什么值,比如未报名的)</param>
|
|
|
/// <param name="queryCode"></param>
|
|
|
/// <returns></returns>
|
|
|
- List<IElectiveGengerationDetail> getElectiveGengerationDetails(int roundId, int generation, int groupId, string queryCode);
|
|
|
+ ElectiveGenerationDetailWrapper getElectiveGengerationDetails(int roundId, int generation, int groupId, string queryCode);
|
|
|
|
|
|
#endregion
|
|
|
|