IEmployeesApplicationService.cs 792 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Linq.Expressions;
  3. using System.Threading.Tasks;
  4. using Abp.Application.Services.Dto;
  5. using IwbZero.AppServiceBase;
  6. using ShwasherSys.CompanyInfo.EmployeeInfo.Dto;
  7. namespace ShwasherSys.CompanyInfo.EmployeeInfo
  8. {
  9. public interface IEmployeeAppService : IIwbZeroAsyncCrudAppService<EmployeeDto, int, IwbPagedRequestDto, EmployeeCreateDto, EmployeeUpdateDto >
  10. {
  11. Task<string> GetAccountUser();
  12. Task Bind(AccountDto input);
  13. Task UnBind(EntityDto<int> input);
  14. #region Get
  15. Task<string> GetSelectStr2(Expression<Func<Employee, bool>> predicate=null);
  16. Task<Employee> GetEntity(EntityDto<int> input);
  17. Task<Employee> GetEntityById(int id);
  18. Task<Employee> GetEntityByNo(string no);
  19. #endregion
  20. }
  21. }