|
@@ -1911,7 +1911,7 @@ namespace DigitalSchoolApi.Controllers |
|
|
} |
|
|
} |
|
|
if (!string.IsNullOrEmpty(item.SEX_CODE)) |
|
|
if (!string.IsNullOrEmpty(item.SEX_CODE)) |
|
|
{ |
|
|
{ |
|
|
sb.Append($" GenderNo='{item.SEX_CODE}',"); |
|
|
|
|
|
|
|
|
sb.Append(" GenderNo='"+(item.SEX_CODE=="1"?"1":"0")+"',"); |
|
|
} |
|
|
} |
|
|
//民族 |
|
|
//民族 |
|
|
if (!string.IsNullOrEmpty(item.NATION_CODE)) |
|
|
if (!string.IsNullOrEmpty(item.NATION_CODE)) |
|
@@ -2056,8 +2056,8 @@ namespace DigitalSchoolApi.Controllers |
|
|
} |
|
|
} |
|
|
if (!string.IsNullOrEmpty(xsxx.SEX_CODE)) |
|
|
if (!string.IsNullOrEmpty(xsxx.SEX_CODE)) |
|
|
{ |
|
|
{ |
|
|
fieleSb.Append("IdentityCardNo,"); |
|
|
|
|
|
sb.Append($" '{xsxx.SEX_CODE}',"); |
|
|
|
|
|
|
|
|
fieleSb.Append("GenderNo,"); |
|
|
|
|
|
sb.Append(" '" + (xsxx.SEX_CODE == "1" ? "1" : "0") + "',"); |
|
|
} |
|
|
} |
|
|
//民族 |
|
|
//民族 |
|
|
if (!string.IsNullOrEmpty(xsxx.NATION_CODE)) |
|
|
if (!string.IsNullOrEmpty(xsxx.NATION_CODE)) |
|
@@ -2101,7 +2101,12 @@ namespace DigitalSchoolApi.Controllers |
|
|
fieleSb.Append("Grade,"); |
|
|
fieleSb.Append("Grade,"); |
|
|
sb.Append($" '{xsxx.ENROLL_GRADE.ToString().Substring(2)}',"); |
|
|
sb.Append($" '{xsxx.ENROLL_GRADE.ToString().Substring(2)}',"); |
|
|
} |
|
|
} |
|
|
sb.Append(@" InSchoolStatus='" + (xsxx.IS_NORMAL) + "',"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (xsxx.IS_NORMAL!=null) |
|
|
|
|
|
{ |
|
|
|
|
|
fieleSb.Append("InSchoolStatus,"); |
|
|
|
|
|
sb.Append(" '" + (xsxx.IS_NORMAL) + "',"); |
|
|
|
|
|
} |
|
|
//去掉最后一个逗号 |
|
|
//去掉最后一个逗号 |
|
|
if (fieleSb.ToString().Contains(",") && sb.ToString().Contains(",")) |
|
|
if (fieleSb.ToString().Contains(",") && sb.ToString().Contains(",")) |
|
|
{ |
|
|
{ |
|
|