diff --git a/DigitalSchoolApi/Controllers/YKTTrabs.cs b/DigitalSchoolApi/Controllers/YKTTrabs.cs index 8b1a6fc..d3ad63b 100644 --- a/DigitalSchoolApi/Controllers/YKTTrabs.cs +++ b/DigitalSchoolApi/Controllers/YKTTrabs.cs @@ -1942,6 +1942,11 @@ namespace DigitalSchoolApi.Controllers { sb.Append($" ClassNo='{item.CLASS_ID}',"); } + //考生号 + if (!string.IsNullOrEmpty(item.KSH)) + { + sb.Append($" ksh='{item.KSH}',"); + } if (!string.IsNullOrEmpty(item.FORMER_NAME)) { sb.Append($" FORMER_NAME='{item.FORMER_NAME}',"); @@ -2089,6 +2094,12 @@ namespace DigitalSchoolApi.Controllers fieleSb.Append("ClassNo,"); sb.Append($" '{xsxx.CLASS_ID}',"); } + //考生号 + if (!string.IsNullOrEmpty(xsxx.KSH)) + { + fieleSb.Append("ksh,"); + sb.Append($" '{xsxx.KSH}',"); + } if (!string.IsNullOrEmpty(xsxx.PINYIN)) { fieleSb.Append("SpellFull,"); diff --git a/DigitalSchoolApi/Models/XCStudentEntity.cs b/DigitalSchoolApi/Models/XCStudentEntity.cs index 2cfc08f..d27afa8 100644 --- a/DigitalSchoolApi/Models/XCStudentEntity.cs +++ b/DigitalSchoolApi/Models/XCStudentEntity.cs @@ -932,6 +932,7 @@ namespace DigitalSchoolApi.Models public string STU_STATE_CODE { get; set; } public string STU_ROLL_CODE { get; set; } public string IS_NORMAL { get; set; } + public string KSH { get; set; } } public class V_Dept