func (this *memberRep) GetMember(memberId int) (member.IMember, error) { e := &member.ValueMember{} err := this.Connector.GetOrm().Get(memberId, e) if err != nil { return nil, err } return memberImpl.NewMember(e, this), err }
// 创建会员 func (this *memberRep) CreateMember(v *member.ValueMember) member.IMember { return memberImpl.NewMember(v, this) }
// 创建会员 func (this *MemberRep) CreateMember(v *member.ValueMember) member.IMember { return memberImpl.NewMember(v, this, this._partnerRep) }