Example #1
0
        /// <summary>
        /// 获取功能列表
        /// </summary>
        /// <param name="parentId">父级主键</param>
        /// <returns></returns>
        public List <ModuleEntity> GetList(string parentId = "")
        {
            var data = InstanceDAL.GetList().ToList();

            if (!string.IsNullOrEmpty(parentId))
            {
                data = data.FindAll(t => t.ParentId == parentId);
            }
            return(data);
        }
Example #2
0
        /// <summary>
        /// 区域列表
        /// </summary>
        /// <returns></returns>
        public IEnumerable <AreaEntity> GetList()
        {
            var cacheList = CacheFactory.Cache().GetCache <IEnumerable <AreaEntity> >(cacheKey);

            if (cacheList == null)
            {
                var data = InstanceDAL.GetList();
                CacheFactory.Cache().WriteCache(data, cacheKey);
                return(data);
            }
            else
            {
                return(cacheList);
            }
        }
Example #3
0
 public List <FreeDateEntity> GetList(FreeDateEntity para)
 {
     return(InstanceDAL.GetList(para));
 }
Example #4
0
 public List <WxTemplateEntity> GetList(WxTemplateEntity para)
 {
     return(InstanceDAL.GetList(para));
 }
Example #5
0
 public List <AuditFreeTimeEntity> GetList(AuditFreeTimeEntity para)
 {
     return(InstanceDAL.GetList(para));
 }
Example #6
0
 public List <BannerEntity> GetList(BannerEntity para)
 {
     return(InstanceDAL.GetList(para));
 }
Example #7
0
 public List <RuleEntity> GetList(RuleEntity para)
 {
     return(InstanceDAL.GetList(para));
 }
Example #8
0
 public List <WithDringCommitteeEntity> GetList(WithDringCommitteeEntity para)
 {
     return(InstanceDAL.GetList(para));
 }
Example #9
0
 public List <HotelResourceEntity> GetList(HotelResourceEntity para)
 {
     return(InstanceDAL.GetList(para));
 }
Example #10
0
 public List <TeacherEntity> GetList(TeacherEntity para)
 {
     return(InstanceDAL.GetList(para));
 }
Example #11
0
 public List <TrainingCarEntity> GetList(TrainingCarEntity para)
 {
     return(InstanceDAL.GetList(para));
 }
Example #12
0
 public List <FinaceEntity> GetList(FinaceEntity para)
 {
     return(InstanceDAL.GetList(para));
 }
Example #13
0
 public List <ShipFeesEntity> GetList(ShipFeesEntity para)
 {
     return(InstanceDAL.GetList(para));
 }
Example #14
0
 /// <summary>
 /// 库连接列表
 /// </summary>
 /// <returns></returns>
 public IEnumerable <DataBaseLinkEntity> GetList()
 {
     return(InstanceDAL.GetList());
 }
Example #15
0
 public List <StudyOrderEntity> GetList(StudyOrderEntity para)
 {
     return(InstanceDAL.GetList(para));
 }
Example #16
0
 public List <NoticeEntity> GetList(NoticeEntity para)
 {
     return(InstanceDAL.GetList(para));
 }
Example #17
0
 /// <summary>
 /// 明细列表
 /// </summary>
 /// <param name="itemId">分类Id</param>
 /// <returns></returns>
 public IEnumerable <DataItemDetailEntity> GetList(string itemId)
 {
     return(InstanceDAL.GetList(itemId));
 }
Example #18
0
 /// <summary>
 /// 视图列表
 /// </summary>
 /// <returns></returns>
 public List <ModuleColumnEntity> GetList()
 {
     return(InstanceDAL.GetList());
 }
Example #19
0
 public List <AuditOrganizationEntity> GetList(AuditOrganizationEntity para)
 {
     return(InstanceDAL.GetList(para));
 }
Example #20
0
 /// <summary>
 /// 视图列表
 /// </summary>
 /// <param name="moduleId">功能Id</param>
 /// <returns></returns>
 public List <ModuleColumnEntity> GetList(string moduleId)
 {
     return(InstanceDAL.GetList(moduleId));
 }
Example #21
0
 public List <TakeAuditOrderEntity> GetList(TakeAuditOrderEntity para)
 {
     return(InstanceDAL.GetList(para));
 }
Example #22
0
 public List <CategoryEntity> GetList(CategoryEntity para)
 {
     return(InstanceDAL.GetList(para));
 }
Example #23
0
 public List <SettingsEntity> GetList(SettingsEntity para)
 {
     return(InstanceDAL.GetList(para));
 }
Example #24
0
 public List <AdviseEntity> GetList(AdviseEntity para)
 {
     return(InstanceDAL.GetList(para));
 }
Example #25
0
 public List <ExamOrderEntity> GetList(ExamOrderEntity para)
 {
     return(InstanceDAL.GetList(para));
 }
Example #26
0
 public List <MessageSetUpEntity> GetList(MessageSetUpEntity para)
 {
     return(InstanceDAL.GetList(para));
 }
Example #27
0
 /// <summary>
 /// 角色列表
 /// </summary>
 /// <returns></returns>
 public IEnumerable <RoleEntity> GetList()
 {
     return(InstanceDAL.GetList());
 }
Example #28
0
 public List <MemberAddressEntity> GetList(MemberAddressEntity para)
 {
     return(InstanceDAL.GetList(para));
 }
Example #29
0
 public List <WxUserInfoEntity> GetList(WxUserInfoEntity para)
 {
     return(InstanceDAL.GetList(para));
 }
Example #30
0
 public List <WithDrivingFreeTimeEntity> GetList(WithDrivingFreeTimeEntity para)
 {
     return(InstanceDAL.GetList(para));
 }