master
huanghai 5 years ago
parent 29199d56ea
commit d6cb5c8f35

@ -60,14 +60,6 @@ func (s *Rpc) GetBaseTeacher(ctx context.Context, in *BaseTeacherProto.ModelArg)
LogUtil.Error(ErrorConst.SqlQueryError, "执行GetPositionInfoByPersonIdAndBureauId时发生严重错误"+err.Error())
return &reply, err
}
////转换数组为JSON数据格式
//b, err := json.Marshal(positionArray)
//if err != nil {
// reply.Success = false
// reply.Message = Const.DataBaseActionError
// LogUtil.Error(ErrorConst.SqlQueryError, "执行positionArray转JSON时发生严重错误"+err.Error())
// return &reply, err
//}
list[0]["position_id_array"] = positionArray
}
}

Loading…
Cancel
Save