|
@@ -205,7 +205,7 @@ namespace GxPress.Api.AdminControllers
|
|
|
user.Email = email;
|
|
|
user.DepartmentId = request.DepartmentId;
|
|
|
var sex = sheet.Rows[i][4].ToString().Trim().Replace(" ", ""); //性别
|
|
|
- user.Gender = sex == "男" ? "Male" : "Female";
|
|
|
+ user.Gender = sex == "女" ? "Female" : "Male";
|
|
|
var city = sheet.Rows[i][5].ToString().Trim().Replace(" ", ""); //城市
|
|
|
user.City = city;
|
|
|
var isLeader = sheet.Rows[i][6].ToString().Trim().Replace(" ", ""); //是否部门负责人
|