示例#1
0
        /// <summary>
        /// 判断是否是有区域门店
        /// </summary>
        /// <param name="ctx"></param>
        /// <param name="custID"></param>
        /// <returns></returns>
        public static bool IsYQYCust(Context ctx, long custID)
        {
            ICustomerService service = CustomerServiceFactory.GetService <ICustomerService>(ctx);
            bool             reuslt  = service.IsYQYCust(ctx, custID);

            return(reuslt);
        }
示例#2
0
        /// <summary>
        /// 通过账户用途获取收付款用途
        /// </summary>
        /// <param name="AccountUsage">账户用途</param>
        /// <returns></returns>
        public static long GetSFKYT(Context ctx, string AccountUsage)
        {
            ICustomerService service = CustomerServiceFactory.GetService <ICustomerService>(ctx);
            long             SFKYTID = service.GetSFKYT(ctx, AccountUsage);

            return(SFKYTID);
        }
示例#3
0
        /// <summary>
        /// 获取业务类型
        /// </summary>
        /// <param name="ctx"></param>
        /// <param name="AccountUsage"></param>
        /// <param name="custID"></param>
        /// <returns></returns>
        public static long GetYWTYPE(Context ctx, string AccountUsage, long custID)
        {
            ICustomerService service  = CustomerServiceFactory.GetService <ICustomerService>(ctx);
            long             YWTYPEID = service.GetYWTYPE(ctx, AccountUsage, custID);

            return(YWTYPEID);
        }
示例#4
0
        /// <summary>
        /// 获取内部客户属性
        /// </summary>
        /// <param name="ctx"></param>
        /// <param name="orgID">对应组织ID</param>
        /// <returns></returns>
        public static Customer GetIntCustomerProperty(Context ctx, long orgID)
        {
            ICustomerService service = CustomerServiceFactory.GetService <ICustomerService>(ctx);
            Customer         cust    = service.GetIntCustomerProperty(ctx, orgID);

            return(cust);
        }