@@ -174,6 +174,10 @@ namespace TEAMModelOS.SDK.Models
public int graduate { get; set; } = 0;
public int year { get; set; }= 0;
public string gender { get; set; }
+ /// <summary>
+ /// 0 自动的座号和irs,1 手动的irs
+ /// </summary>
+ public int manual { get; set; }
}
/// <summary>
@@ -354,6 +354,10 @@ namespace TEAMModelOS.SDK
return (status, stuList,null);
+
+ if (seatNo>0) {
+ }
string irs = string.Empty;
List<string> irsOrder = stuList.members.Select(x => x.irs)?.Where(y => !string.IsNullOrEmpty(y) && Regex.IsMatch(y, @"^\d*$")).OrderBy(x => int.Parse(x)).ToList();
if (!irsOrder.Contains("0"))
@@ -120,7 +120,7 @@ namespace TEAMModelOS.Controllers
if (groupList!=null)
{
- return Ok(new {code=200, nos = groupList.members.Select(x => x.no),optNo= groupList.optNo , limitCount=groupList.limitCount});
+ return Ok(new {code=200, nos = groupList.members.Select(x => x.irs),optNo= groupList.optNo , limitCount=groupList.limitCount});
else {
return Ok(new {code=404, nos =new List<string>() , optNo =0, limitCount =0});