IProductInspectsApplicationService.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using System.Collections.Generic;
  2. using System.Threading.Tasks;
  3. using System.Web.Mvc;
  4. using Abp.Application.Services.Dto;
  5. using Abp.Web.Security.AntiForgery;
  6. using IwbZero.AppServiceBase;
  7. using ShwasherSys.BaseSysInfo.SysAttachFiles.Dto;
  8. using ShwasherSys.Inspection.Dto;
  9. using ShwasherSys.ProductionOrderInfo.Dto;
  10. using ShwasherSys.SemiProductStoreInfo;
  11. namespace ShwasherSys.Inspection
  12. {
  13. public interface IProductInspectAppService : IIwbAsyncCrudAppService<ProductInspectDto, int, PagedRequestDto, ProductInspectCreateDto, ProductInspectUpdateDto >
  14. {
  15. PagedResultDto<ViewSemiEnterStore> GetSemiEnterStoreCheck(PagedRequestDto input);
  16. Task Check(EntityDto<int> input);
  17. Task UnCheck(EntityDto<int> input);
  18. Task<PagedResultDto<ProductionOrderDto>> GetAllInspect(PagedRequestDto input);
  19. Task<string> ExportInspect(PagedRequestDto input);
  20. Task<PagedResultDto<ProductInspectReportDto>> GetAllReport(PagedRequestDto input);
  21. [DisableAbpAntiForgeryTokenValidation]
  22. Task Template(ProductInspectTemplateDto input);
  23. [DisableAbpAntiForgeryTokenValidation]
  24. Task<ProductInspectDto> CreateInspect(ProductInspectCreateDto input);
  25. [DisableAbpAntiForgeryTokenValidation]
  26. Task ConfirmReport(ProductReportConfirmDto input);
  27. //[DisableAbpAntiForgeryTokenValidation]
  28. //Task<ProductInspectDto> UpdateInspect(ProductInspectUpdateDto input);
  29. Task<string> QueryReport(string no, int isProduct);
  30. Task<List<SysAttachFileDto>> QueryAttach(QueryAttachDto input);
  31. Task DeleteAttach(string attachNo);
  32. Task<List<SelectListItem>> GetSelectList();
  33. Task<string> GetSelectStr();
  34. #region Get
  35. Task<ProductInspectInfo> GetEntityById(int id);
  36. Task<ProductInspectInfo> GetEntityByNo(string no);
  37. Task<ProductInspectDto> GetDtoById(int id);
  38. Task<ProductInspectDto> GetDtoByNo(string no);
  39. #endregion
  40. }
  41. }