master
huanghai 5 years ago
parent 9c7402cfee
commit b2bcdacc12

@ -1201,5 +1201,9 @@ func GetPersonOrgName(personId string) (string, error) {
if len(list) == 0 {
return "没有找到此人员", nil
}
if list[0]["org_name"] == nil {
return "未找到部门信息", nil
} else {
return list[0]["org_name"].(string), nil
}
}

Loading…
Cancel
Save