Browse Source

【修改】西昌数据中心同步学生:增加考生号同步;

master
dyy 2 months ago
parent
commit
a2a2661044
2 changed files with 12 additions and 0 deletions
  1. +11
    -0
      DigitalSchoolApi/Controllers/YKTTrabs.cs
  2. +1
    -0
      DigitalSchoolApi/Models/XCStudentEntity.cs

+ 11
- 0
DigitalSchoolApi/Controllers/YKTTrabs.cs View File

@@ -1942,6 +1942,11 @@ namespace DigitalSchoolApi.Controllers
{ {
sb.Append($" ClassNo='{item.CLASS_ID}',"); sb.Append($" ClassNo='{item.CLASS_ID}',");
} }
//考生号
if (!string.IsNullOrEmpty(item.KSH))
{
sb.Append($" ksh='{item.KSH}',");
}
if (!string.IsNullOrEmpty(item.FORMER_NAME)) if (!string.IsNullOrEmpty(item.FORMER_NAME))
{ {
sb.Append($" FORMER_NAME='{item.FORMER_NAME}',"); sb.Append($" FORMER_NAME='{item.FORMER_NAME}',");
@@ -2089,6 +2094,12 @@ namespace DigitalSchoolApi.Controllers
fieleSb.Append("ClassNo,"); fieleSb.Append("ClassNo,");
sb.Append($" '{xsxx.CLASS_ID}',"); sb.Append($" '{xsxx.CLASS_ID}',");
} }
//考生号
if (!string.IsNullOrEmpty(xsxx.KSH))
{
fieleSb.Append("ksh,");
sb.Append($" '{xsxx.KSH}',");
}
if (!string.IsNullOrEmpty(xsxx.PINYIN)) if (!string.IsNullOrEmpty(xsxx.PINYIN))
{ {
fieleSb.Append("SpellFull,"); fieleSb.Append("SpellFull,");


+ 1
- 0
DigitalSchoolApi/Models/XCStudentEntity.cs View File

@@ -932,6 +932,7 @@ namespace DigitalSchoolApi.Models
public string STU_STATE_CODE { get; set; } public string STU_STATE_CODE { get; set; }
public string STU_ROLL_CODE { get; set; } public string STU_ROLL_CODE { get; set; }
public string IS_NORMAL { get; set; } public string IS_NORMAL { get; set; }
public string KSH { get; set; }
} }


public class V_Dept public class V_Dept


Loading…
Cancel
Save