示例#1
0
        /// <summary>
        /// 得到会员的扩展信息
        /// </summary>
        /// <param name="pARTNER"></param>
        /// <returns></returns>
        private MemberExtendDTO GetMemberExt(string pARTNER)
        {
            dt_Dyn_DispMember_req w = new dt_Dyn_DispMember_req();

            w.DATA_SOURCE   = AppConfig.DATA_SOURCE;
            w.LOYALTY_BRAND = AppConfig.LOYALTY_BRAND; //忠诚度品牌
            w.SOURCE_SYSTEM = AppConfig.SOURCE_SYSTEM; //来源系统
            w.VGROUP        = AppConfig.VGROUP;        //销售组织
            w.PARTNER       = pARTNER;                 //2002652891
            dt_Dyn_DispMember_res dt = WebHmjApiHelp.DispMember(w);

            if (dt.ZCRMT316 == null || dt.ZCRMT316.Length <= 0)
            {
                return(null);
            }

            if (dt.ZCRMT316.Length > 1)
            {
                return(null);
            }

            ZCRMT302_Dyn newmeber = dt.ZCRMT316[0];


            return(newmeber.MapTo <MemberExtendDTO>());
        }
示例#2
0
文件: HmjTest.cs 项目: Thn123/hmj
        /// <summary>
        /// 主数据查询
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button1_Click(object sender, EventArgs e)
        {
            dt_Dyn_DispMember_req w = new dt_Dyn_DispMember_req();

            w.DATA_SOURCE   = AppConfig.DATA_SOURCE;
            w.LOYALTY_BRAND = AppConfig.LOYALTY_BRAND; //忠诚度品牌
            w.SOURCE_SYSTEM = AppConfig.SOURCE_SYSTEM; //来源系统
            w.VGROUP        = AppConfig.VGROUP;        //销售组织
            w.PARTNER       = "MCHM000000003";         //2002652891
            dt_Dyn_DispMember_res dt = WebHmjApiHelp.DispMember(w, true);
        }