/// <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); }
/// <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); }
/// <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); }
/// <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); }