|
@@ -47,7 +47,7 @@ func (s *ProtocolServer) GetPatientTypeList(ctx context.Context, in *pb.PatientT
|
|
|
return nil, status.Errorf(codes.Internal, "patient_type find err %v", err)
|
|
|
}
|
|
|
for _, pt := range res.GetPatientTypeList() {
|
|
|
- pt.PatientTypeLocal = pt.PatientTypeName
|
|
|
+ pt.PatientTypeNameLocal = pt.PatientTypeName
|
|
|
}
|
|
|
return &res, nil
|
|
|
}
|
|
@@ -68,7 +68,7 @@ func (s *ProtocolServer) GetBodyPartList(ctx context.Context, in *pb.BodyPartReq
|
|
|
return nil, status.Errorf(codes.Internal, "body_part find err %v", err)
|
|
|
}
|
|
|
for _, pt := range res.GetBodyPartList() {
|
|
|
- pt.BodyPartLocal = pt.BodyPartName
|
|
|
+ pt.BodyPartNameLocal = pt.BodyPartName
|
|
|
}
|
|
|
return &res, nil
|
|
|
}
|