Sfoglia il codice sorgente

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

master
dyy 2 mesi fa
parent
commit
a2a2661044
2 ha cambiato i file con 12 aggiunte e 0 eliminazioni
  1. +11
    -0
      DigitalSchoolApi/Controllers/YKTTrabs.cs
  2. +1
    -0
      DigitalSchoolApi/Models/XCStudentEntity.cs

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

@@ -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,");


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

@@ -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


Caricamento…
Annulla
Salva