爆肝,重构框架,你懂得
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Common.Models;
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.BBS.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface.BBS
|
||||
{
|
||||
public partial interface IAgreeService : IBaseService<AgreeEntity>
|
||||
{
|
||||
Task<bool> OperateAsync(long articleOrCommentId, long userId);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,13 +1,15 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Common.Models;
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.BBS.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
namespace Yi.Framework.Interface.BBS
|
||||
{
|
||||
public partial interface IArticleService:IBaseService<ArticleEntity>
|
||||
public partial interface IArticleService:IBaseService<ArticleEntity>
|
||||
{
|
||||
Task<PageModel<List<ArticleEntity>>> SelctPageList(ArticleEntity eneity, PageParModel page);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.BBS.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface.BBS
|
||||
{
|
||||
public partial interface ICommentService:IBaseService<CommentEntity>
|
||||
{
|
||||
Task<bool> AddAsync(CommentEntity comment);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.Interface.Base.Crud
|
||||
{
|
||||
public interface IApplicationService
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.Interface.Base.Crud
|
||||
{
|
||||
public interface ICreateAppService<TEntityDto>
|
||||
: ICreateAppService<TEntityDto, TEntityDto>
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
public interface ICreateAppService<TCreateResultOutputDto
|
||||
, in TCreateInputDto> : IApplicationService
|
||||
{
|
||||
Task<TCreateResultOutputDto> CreateAsync(TCreateInputDto dto);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.Interface.Base.Crud
|
||||
{
|
||||
public interface ICreateUpdateAppService<TEntityDto, in TKey>
|
||||
: ICreateUpdateAppService<TEntityDto, TKey, TEntityDto, TEntityDto>
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public interface ICreateUpdateAppService<TEntityDto, in TKey, in TCreateUpdateInput>
|
||||
: ICreateUpdateAppService<TEntityDto, TKey, TCreateUpdateInput, TCreateUpdateInput>
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public interface ICreateUpdateAppService<TGetOutputDto, in TKey, in TCreateUpdateInput, in TUpdateInput>
|
||||
: ICreateAppService<TGetOutputDto, TCreateUpdateInput>,
|
||||
IUpdateAppService<TGetOutputDto, TKey, TUpdateInput>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.Interface.Base.Crud
|
||||
{
|
||||
public interface ICrudAppService<TEntityDto, in TKey>
|
||||
: ICrudAppService<TEntityDto, TKey, TEntityDto>
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public interface ICrudAppService<TEntityDto, in TKey, in TCreateInput>
|
||||
: ICrudAppService<TEntityDto, TKey, TCreateInput, TCreateInput>
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public interface ICrudAppService<TEntityDto, in TKey, in TCreateInput, in TUpdateInput>
|
||||
: ICrudAppService<TEntityDto, TEntityDto, TKey, TCreateInput, TUpdateInput>
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public interface ICrudAppService<TGetOutputDto, TGetListOutputDto, in TKey, in TCreateInput, in TUpdateInput>
|
||||
: IReadOnlyAppService<TGetOutputDto, TGetListOutputDto, TKey>,
|
||||
ICreateUpdateAppService<TGetOutputDto, TKey, TCreateInput, TUpdateInput>,
|
||||
IDeleteAppService<TKey>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.Interface.Base.Crud
|
||||
{
|
||||
public interface IDeleteAppService<in TKey> : IApplicationService
|
||||
{
|
||||
Task DeleteAsync(IEnumerable<TKey> ids);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.Interface.Base.Crud
|
||||
{
|
||||
|
||||
public interface IReadOnlyAppService<TListDto, in TKey> : IReadOnlyAppService<TListDto, TListDto, TKey>
|
||||
{
|
||||
}
|
||||
|
||||
public interface IReadOnlyAppService<TDetail, TListDto, in TKey> : IApplicationService
|
||||
{
|
||||
/// <summary>
|
||||
/// 根据Id获取数据
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <returns></returns>
|
||||
Task<TDetail> GetByIdAsync(TKey id);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 根据url参数查询
|
||||
/// </summary>
|
||||
/// <param name="urlParams"></param>
|
||||
/// <returns></returns>
|
||||
//Task<PageData<TListDto>> GetByUrl(List<UrlParams> input = null);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.Interface.Base.Crud
|
||||
{
|
||||
public interface IUpdateAppService<TEntityDto, in TKey>
|
||||
: IUpdateAppService<TEntityDto, TKey, TEntityDto>
|
||||
{
|
||||
|
||||
}
|
||||
public interface IUpdateAppService<TUpdateResultOutputDto, in TKey, in TUpdateInputDto> : IApplicationService
|
||||
{
|
||||
Task<TUpdateResultOutputDto> UpdateAsync(TKey id, TUpdateInputDto dto);
|
||||
}
|
||||
}
|
||||
@@ -3,12 +3,11 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
namespace Yi.Framework.Interface.Base
|
||||
{
|
||||
public interface IBaseService<T> where T: class,new()
|
||||
public interface IBaseService<T> where T : class, new()
|
||||
{
|
||||
public IRepository<T> _repository { get; set; }
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface IAgreeService : IBaseService<AgreeEntity>
|
||||
{
|
||||
Task<bool> OperateAsync(long articleOrCommentId, long userId);
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface ICommentService
|
||||
{
|
||||
Task<bool> AddAsync(CommentEntity comment);
|
||||
}
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface IAgreeService : IBaseService<AgreeEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface IArticleService:IBaseService<ArticleEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface ICategoryService:IBaseService<CategoryEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface ICommentService:IBaseService<CommentEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface IConfigService:IBaseService<ConfigEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface IDeptService:IBaseService<DeptEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface IDictionaryInfoService:IBaseService<DictionaryInfoEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface IDictionaryService:IBaseService<DictionaryEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface IFileService:IBaseService<FileEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface ILogService:IBaseService<LogEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Common.Models;
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface ILoginLogService : IBaseService<LoginLogEntity>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface IMenuService:IBaseService<MenuEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Common.Models;
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface IOperationLogService : IBaseService<OperationLogEntity>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface IPostService:IBaseService<PostEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface IRoleDeptService:IBaseService<RoleDeptEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface IRoleMenuService:IBaseService<RoleMenuEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface IRoleService:IBaseService<RoleEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface ISkuService:IBaseService<SkuEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface ISpecsGroupService:IBaseService<SpecsGroupEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface ISpecsService:IBaseService<SpecsEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface ISpuService:IBaseService<SpuEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface ITenantService:IBaseService<TenantEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface IUserPostService:IBaseService<UserPostEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface IUserRoleService:IBaseService<UserRoleEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial interface IUserService:IBaseService<UserEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,12 +1,13 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Common.Models;
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.RABC.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
namespace Yi.Framework.Interface.RABC
|
||||
{
|
||||
public partial interface IConfigService:IBaseService<ConfigEntity>
|
||||
public partial interface IConfigService:IBaseService<ConfigEntity>
|
||||
{
|
||||
Task<PageModel<List<ConfigEntity>>> SelctPageList(ConfigEntity config, PageParModel page);
|
||||
}
|
||||
@@ -1,12 +1,12 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Common.Models;
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.RABC.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
namespace Yi.Framework.Interface.RABC
|
||||
{
|
||||
public partial interface IDeptService:IBaseService<DeptEntity>
|
||||
public partial interface IDeptService:IBaseService<DeptEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 动态条件查询
|
||||
@@ -1,12 +1,13 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Common.Models;
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.RABC.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
namespace Yi.Framework.Interface.RABC
|
||||
{
|
||||
public partial interface IDictionaryInfoService:IBaseService<DictionaryInfoEntity>
|
||||
public partial interface IDictionaryInfoService:IBaseService<DictionaryInfoEntity>
|
||||
{
|
||||
Task<PageModel<List<DictionaryInfoEntity>>> SelctPageList(DictionaryInfoEntity dicInfo, PageParModel page);
|
||||
}
|
||||
@@ -1,12 +1,13 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Common.Models;
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.RABC.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
namespace Yi.Framework.Interface.RABC
|
||||
{
|
||||
public partial interface IDictionaryService:IBaseService<DictionaryEntity>
|
||||
public partial interface IDictionaryService:IBaseService<DictionaryEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 动态条件分页查询
|
||||
@@ -0,0 +1,10 @@
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.RABC.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface.RABC
|
||||
{
|
||||
public partial interface IFileService : IBaseService<FileEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,11 +1,12 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.RABC.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
namespace Yi.Framework.Interface.RABC
|
||||
{
|
||||
public partial interface ILogService
|
||||
public partial interface ILogService:IBaseService<LogEntity>
|
||||
{
|
||||
Task<List<long>> AddListTest(List<LogEntity> logEntities);
|
||||
Task<List<LogEntity>> GetListTest();
|
||||
@@ -1,12 +1,13 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Common.Models;
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.RABC.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
namespace Yi.Framework.Interface.RABC
|
||||
{
|
||||
public partial interface ILoginLogService:IBaseService<LoginLogEntity>
|
||||
public partial interface ILoginLogService : IBaseService<LoginLogEntity>
|
||||
{
|
||||
Task<PageModel<List<LoginLogEntity>>> SelctPageList(LoginLogEntity loginLog, PageParModel page);
|
||||
}
|
||||
@@ -1,12 +1,12 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Common.Models;
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.RABC.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
namespace Yi.Framework.Interface.RABC
|
||||
{
|
||||
public partial interface IMenuService:IBaseService<MenuEntity>
|
||||
public partial interface IMenuService:IBaseService<MenuEntity>
|
||||
{
|
||||
Task<List<MenuEntity>> GetMenuTreeAsync();
|
||||
Task<List<MenuEntity>> SelctGetList(MenuEntity menu);
|
||||
@@ -1,12 +1,13 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Common.Models;
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.RABC.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
namespace Yi.Framework.Interface.RABC
|
||||
{
|
||||
public partial interface IOperationLogService:IBaseService<OperationLogEntity>
|
||||
public partial interface IOperationLogService : IBaseService<OperationLogEntity>
|
||||
{
|
||||
Task<PageModel<List<OperationLogEntity>>> SelctPageList(OperationLogEntity operationLog, PageParModel page);
|
||||
}
|
||||
@@ -1,12 +1,13 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Common.Models;
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.RABC.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
namespace Yi.Framework.Interface.RABC
|
||||
{
|
||||
public partial interface IPostService:IBaseService<PostEntity>
|
||||
public partial interface IPostService:IBaseService<PostEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 动态条件分页查询
|
||||
@@ -0,0 +1,10 @@
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.RABC.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface.RABC
|
||||
{
|
||||
public partial interface IRoleDeptService : IBaseService<RoleDeptEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.RABC.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface.RABC
|
||||
{
|
||||
public partial interface IRoleMenuService : IBaseService<RoleMenuEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -2,12 +2,13 @@
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Common.Models;
|
||||
using Yi.Framework.DTOModel;
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.RABC.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
namespace Yi.Framework.Interface.RABC
|
||||
{
|
||||
public partial interface IRoleService
|
||||
public partial interface IRoleService:IBaseService<RoleEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// DbTest
|
||||
@@ -49,7 +50,7 @@ namespace Yi.Framework.Interface
|
||||
/// </summary>
|
||||
/// <param name="roleDto"></param>
|
||||
/// <returns></returns>
|
||||
Task<bool> AddInfo(RoleInfoDto roleDto);
|
||||
Task<bool> AddInfo(RoleInfoDto roleDto);
|
||||
|
||||
|
||||
/// <summary>
|
||||
@@ -0,0 +1,10 @@
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.RABC.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface.RABC
|
||||
{
|
||||
public partial interface ITenantService : IBaseService<TenantEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.RABC.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface.RABC
|
||||
{
|
||||
public partial interface IUserPostService : IBaseService<UserPostEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.RABC.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface.RABC
|
||||
{
|
||||
public partial interface IUserRoleService : IBaseService<UserRoleEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,15 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using System;
|
||||
using Yi.Framework.Common.Models;
|
||||
using Yi.Framework.DTOModel;
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.RABC.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
namespace Yi.Framework.Interface.RABC
|
||||
{
|
||||
public partial interface IUserService
|
||||
public partial interface IUserService:IBaseService<UserEntity>
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 关联角色测试
|
||||
/// </summary>
|
||||
@@ -74,7 +76,7 @@ namespace Yi.Framework.Interface
|
||||
/// <param name="user"></param>
|
||||
/// <param name="page"></param>
|
||||
/// <returns></returns>
|
||||
Task<PageModel<List<UserEntity>>> SelctPageList(UserEntity user, PageParModel page,long ? deptId);
|
||||
Task<PageModel<List<UserEntity>>> SelctPageList(UserEntity user, PageParModel page, long? deptId);
|
||||
|
||||
|
||||
/// <summary>
|
||||
@@ -97,7 +99,7 @@ namespace Yi.Framework.Interface
|
||||
/// <param name="userId"></param>
|
||||
/// <param name="password"></param>
|
||||
/// <returns></returns>
|
||||
Task<bool> RestPassword(long userId,string password );
|
||||
Task<bool> RestPassword(long userId, string password);
|
||||
|
||||
|
||||
/// <summary>
|
||||
@@ -0,0 +1,10 @@
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.SHOP.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface.SHOP
|
||||
{
|
||||
public partial interface ICategoryService : IBaseService<CategoryEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,12 +1,13 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Common.Models;
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.SHOP.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
namespace Yi.Framework.Interface.SHOP
|
||||
{
|
||||
public partial interface ISkuService:IBaseService<SkuEntity>
|
||||
public partial interface ISkuService:IBaseService<SkuEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 动态条件分页查询
|
||||
@@ -0,0 +1,10 @@
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.SHOP.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface.SHOP
|
||||
{
|
||||
public partial interface ISpecsGroupService : IBaseService<SpecsGroupEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.SHOP.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface.SHOP
|
||||
{
|
||||
public partial interface ISpecsService : IBaseService<SpecsEntity>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,12 +1,13 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Common.Models;
|
||||
using Yi.Framework.Model.Models;
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.SHOP.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
namespace Yi.Framework.Interface.SHOP
|
||||
{
|
||||
public partial interface ISpuService:IBaseService<SpuEntity>
|
||||
public partial interface ISpuService:IBaseService<SpuEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 动态条件分页查询
|
||||
Reference in New Issue
Block a user