|
@@ -43,7 +43,7 @@ func EntPerson(entId int64, isAll bool) (map[string]string, map[string]string, m
|
|
|
}
|
|
|
|
|
|
//查询企业人员职位
|
|
|
- positionList := IC.BaseMysql.SelectBySql(fmt.Sprintf(`SELECT b.phone,b.id FROM base_position a
|
|
|
+ positionList := IC.BaseMysql.SelectBySql(fmt.Sprintf(`SELECT b.phone,a.id FROM base_position a
|
|
|
INNER JOIN base_user b ON a.ent_id = %d
|
|
|
AND a.user_id = b.id`, entId))
|
|
|
if positionList != nil && len(*positionList) > 0 {
|