招聘后台
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.

42 lines
1.6 KiB

using System.Threading.Tasks;
using Znyc.Recruitment.Admin.Commons.IServices;
using Znyc.Recruitment.Admin.Commons.Pages;
using Znyc.Recruitment.Admin.Security.Dtos;
using Znyc.Recruitment.Admin.Security.Entitys;
namespace Znyc.Recruitment.Admin.Security.IServices
{
/// <summary>
/// ��־��¼
/// </summary>
public interface IOperationLogsService : IService<OperationLogsEntity, OperationLogsOutputDto, long>
{
/// <summary>
/// ����������Ϣ��д���û��IJ�����־��¼
/// ��Ҫ����д���ݿ���־
/// </summary>
/// <param name="tableName">����������</param>
/// <param name="operationType">��������</param>
/// <param name="note">������ϸ����</param>
/// <returns></returns>
bool OnOperationLog(string tableName, string operationType, string note);
/// <summary>
/// ����������Ϣ��д���û��IJ�����־��¼
/// ��Ҫ����д����ģ����־
/// </summary>
/// <param name="module">����ģ������</param>
/// <param name="operationType">��������</param>
/// <param name="note">������ϸ����</param>
/// <param name="AdminCurrentUser">�����û�</param>
/// <returns></returns>
bool OnOperationLog(string module, string operationType, string note, AdminCurrentUser AdminCurrentUser);
/// <summary>
/// ����������ѯ���ݿ�,�����ض��󼯺�(���ڷ�ҳ������ʾ)
/// </summary>
/// <param name="search">��ѯ������</param>
/// <returns>ָ�������ļ���</returns>
Task<PageResult<OperationLogsOutputDto>> FindWithPagerSearchAsync(SearchOperationLogsModel search);
}
}