|
|
@ -61,7 +61,7 @@ func ListBasePositionByBureauId(in *BasePositionProto.ListBasePositionByBureauId
|
|
|
|
return nil, -1, errors.New("无法找到指定的单位ID")
|
|
|
|
return nil, -1, errors.New("无法找到指定的单位ID")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//2、这个单位ID是哪个类型的org_type
|
|
|
|
//2、这个单位ID是哪个类型的org_type
|
|
|
|
orgType := list[0]["org_type"].(float64)
|
|
|
|
orgType := list[0]["org_type"].(float64) //这里有一个坑,因为这里不是从MYSQL获取的,而是从REDIS中获取的
|
|
|
|
//区域代码
|
|
|
|
//区域代码
|
|
|
|
areaCode := list[0]["area_code"].(string)
|
|
|
|
areaCode := list[0]["area_code"].(string)
|
|
|
|
//办学类型
|
|
|
|
//办学类型
|
|
|
|