1、导入人员名字去除空格

main
lsm 10 months ago
parent c87105ce65
commit c6f1856d6b
  1. 2
      PEIS/Utils/ExcelHelper.cs

@ -87,7 +87,7 @@ namespace PEIS.Utils
return new BasePatient()
{
// A-0-序号,B-1-姓名,C-2-性别,D-3-民族,E-4-婚姻,F-5-身份证号,G-6-住址,H-7-电话,I-8-部门,J-9备注
Name = dataRow.GetCell(1)?.ToString(),
Name = dataRow.GetCell(1)?.ToString().Replace(" ", ""),
Sex = sex.Contains("女")?"2":"1",
Nation = dataRow.GetCell(3)?.ToString(),
Marriage = dataRow.GetCell(4)?.ToString(),

Loading…
Cancel
Save