master
huanghai 5 years ago
parent 950569e855
commit 141cc05afd

@ -47,7 +47,11 @@ func (s *Rpc) GetBaseOrganization(ctx context.Context, in *BaseOrganizationProto
LogUtil.Error(ErrorConst.SqlQueryError, "执行GetFsb时发生严重错误"+err.Error())
return &reply, err
}
list[0]["fsb"] = fsbArray
if fsbArray != nil {
list[0]["fsb"] = fsbArray
} else {
list[0]["fsb"] = make([]map[string]interface{}, 0)
}
}
//将结果序列化
reply.Success = true

Loading…
Cancel
Save