Ejemplo n.º 1
0
        public static QueryResult <StoreNavigation> QueryStoreNavigationList(StorePageListQueryFilter filter, int SellSysno)
        {
            var result = StoreDA.QueryStoreNavigationList(filter, SellSysno);

            //insert home to first
            var home = QueryHomePage(SellSysno);

            if (home != null)
            {
                var navHome = new StoreNavigation();
                navHome.LinkUrl = string.Format("/Store/{0}/{1}", SellSysno, home.SysNo.Value);
                navHome.Content = "首页";
                result.ResultList.Insert(0, navHome);
            }

            return(result);
        }
Ejemplo n.º 2
0
 public static QueryResult <StoreNavigation> QueryStoreNavigationList(StorePageListQueryFilter filter, int SellSysno)
 {
     return(StoreDA.QueryStoreNavigationList(filter, SellSysno));
 }