CCN.Modules.Car.DataAccess.CarDataAccess.GetRecommendCarList C# (CSharp) Method

GetRecommendCarList() public method

获取推荐车源列表
public GetRecommendCarList ( string custid ) : dynamic
custid string
return dynamic
        public dynamic GetRecommendCarList(string custid)
        {
            const string sql = @"select * from cust_site_recommendcar where custid = @custid;";

            try
            {
                return Helper.Query<dynamic>(sql, new { custid });
            }
            catch (Exception ex)
            {
                LoggerFactories.CreateLogger().Write("获取推荐车源列表异常:", TraceEventType.Error, ex);
                return null;
            }
        }
CarDataAccess