diff --git a/PEIS/Utils/ExcelHelper.cs b/PEIS/Utils/ExcelHelper.cs index ce1d20d..147e7e2 100644 --- a/PEIS/Utils/ExcelHelper.cs +++ b/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(),