完善大部分问题

This commit is contained in:
橙子
2022-04-08 23:44:25 +08:00
parent 5fcd4fb5a4
commit feb73174eb
26 changed files with 160 additions and 160 deletions

View File

@@ -0,0 +1,15 @@
using System;
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
{
public interface IBaseService<T> where T:BaseModelEntity,new()
{
public IRepository<T> _repository { get; set; }
}
}

View File

@@ -3,7 +3,7 @@ using Yi.Framework.Repository;
namespace Yi.Framework.Interface
{
public partial interface ITenantService: IRepository<TenantEntity>
public partial interface ITenantService:IBaseService<TenantEntity>
{
}
}

View File

@@ -3,7 +3,7 @@ using Yi.Framework.Repository;
namespace Yi.Framework.Interface
{
public partial interface IUserService: IRepository<UserEntity>
public partial interface IUserService:IBaseService<UserEntity>
{
}
}