/// <summary>
 /// 选择的会员处理
 /// </summary>
 internal void YesSelectMemberHandle(int contactid)
 {
     if (!string.IsNullOrEmpty(YesMemberIDs))
     {
         string[] memberids = YesMemberIDs.Split(',');
         foreach (string memberid in memberids)
         {
             Entities.ProjectTask_MemberContactMapping model = BLL.ProjectTask_MemberContactMapping.Instance.GetModel(memberid, contactid);
             if (model == null)
             {
                 model            = new Entities.ProjectTask_MemberContactMapping();
                 model.MemberID   = new Guid(memberid);
                 model.ContactID  = contactid;
                 model.IsMain     = 0;
                 model.CreateTime = DateTime.Now;
                 BLL.ProjectTask_MemberContactMapping.Instance.AddMemberContactMapping(model);
             }
         }
     }
 }
 /// <summary>
 /// 选择的会员处理
 /// </summary>
 private void YesSelectMemberHandle(int contactid)
 {
     if (!string.IsNullOrEmpty(YesMemberIDs))
     {
         string[] memberids = YesMemberIDs.Split(',');
         foreach (string memberid in memberids)
         {
             MemberContactMapping model = BitAuto.YanFa.Crm2009.BLL.MemberContactMapping.Instance.GetModel(memberid, contactid);
             if (model == null)
             {
                 model            = new MemberContactMapping();
                 model.MemberID   = new Guid(memberid);
                 model.ContactID  = contactid;
                 model.IsMain     = 0;
                 model.CreateTime = DateTime.Now;
                 BitAuto.YanFa.Crm2009.BLL.MemberContactMapping.Instance.AddMemberContactMapping(model);
             }
         }
     }
 }