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); }
public static QueryResult <StoreNavigation> QueryStoreNavigationList(StorePageListQueryFilter filter, int SellSysno) { return(StoreDA.QueryStoreNavigationList(filter, SellSysno)); }