|
@@ -212,6 +212,8 @@ func EntPerson(entId int64, isAll bool) (map[string]string, map[string]string) {
|
|
|
}
|
|
|
return phoneData, nameData
|
|
|
}
|
|
|
+
|
|
|
+//用户名换取职位标识
|
|
|
func NameToPositionIdp(userName string, entId int64) string {
|
|
|
personList := IC.MainMysql.SelectBySql(fmt.Sprintf(" select GROUP_CONCAT(phone) as phone from %s where ent_id=%d and name like '%s' ", util.ENTNICHE_USER, entId, userName))
|
|
|
if len(*personList) > 0 {
|