作者 yangfu

导出修改

... ... @@ -34,7 +34,7 @@ func (data ExportCompanyUserData) CellValue(index int, enName string) (value int
return data[index].UserInfo.Phone
case "DepartmentName":
if data[index].Department != nil {
return data[index].Department.DepartmentNumber
return data[index].Department.DepartmentName
} else {
return ""
}
... ... @@ -53,7 +53,7 @@ func (data ExportCompanyUserData) CellValue(index int, enName string) (value int
return statusName
case "OrgName":
if data[index].Org != nil {
return data[index].Org.OrgCode
return data[index].Org.OrgName
} else {
return ""
}
... ...