招聘后台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

24 lines
801 B

using System.Threading.Tasks;
using Znyc.Recruitment.Admin.Commons.IRepositories;
using Znyc.Recruitment.Admin.Security.Entitys;
namespace Znyc.Recruitment.Admin.Security.IRepositories
{
public interface IDictionaryRepository : IRepository<DictionaryEntity, long>
{
/// <summary>
/// 根据编码查询字典分类
/// </summary>
/// <param name="enCode"></param>
/// <returns></returns>
Task<DictionaryEntity> GetByEnCodAsynce(string enCode);
/// <summary>
/// 更新时判断分类编码是否存在(排除自己)
/// </summary>
/// <param name="enCode">分类编码</param
/// <param name="id">主键Id</param>
/// <returns></returns>
Task<DictionaryEntity> GetByEnCodAsynce(string enCode, long id);
}
}