示例#1
0
        public static CustomerInfo GetCustomerByID(string customerid)
        {
            CustomerInfo item = CustomerDA.GetCustomerByID(customerid);

            if (item != null)
            {
                item.ExtendInfo = CustomerDA.GetCustomerExtendInfo(item.SysNo);
            }
            return(item);
        }
示例#2
0
        /// <summary>
        /// 获取客户信息
        /// </summary>
        /// <param name="sysNo">客户SysNo</param>
        /// <returns>客户信息</returns>
        public static CustomerInfo GetCustomerInfo(int sysNo)
        {
            CustomerInfo item = CustomerDA.GetCustomerInfo(sysNo);

            if (item != null)
            {
                item.ExtendInfo = CustomerDA.GetCustomerExtendInfo(sysNo);
            }
            return(item);
        }