ICommonAppService.cs 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Web.Mvc;
  7. using Abp.Application.Services;
  8. using Abp.Application.Services.Dto;
  9. using Abp.Domain.Entities;
  10. using IwbZero.AppServiceBase;
  11. using ShwasherSys.BaseSysInfo;
  12. using ShwasherSys.BaseSysInfo.States.Dto;
  13. using ShwasherSys.BaseSysInfo.SysAttachFiles.Dto;
  14. using ShwasherSys.Common.Dto;
  15. using ShwasherSys.Common.Dto.HomeChartDto;
  16. using ShwasherSys.CustomerInfo;
  17. using ShwasherSys.Order.Dto;
  18. using ShwasherSys.PackageInfo;
  19. using ShwasherSys.PackageInfo.Dto;
  20. using ShwasherSys.ProductInfo.Dto;
  21. using ShwasherSys.ProductionOrderInfo.Dto;
  22. using ShwasherSys.ProductStoreInfo;
  23. using ShwasherSys.ProductStoreInfo.Dto;
  24. namespace ShwasherSys.Common
  25. {
  26. public interface ICommonAppService:IApplicationService
  27. {
  28. string KeepClock();
  29. Task CloseProductOrder();
  30. Task WriteShortMessageByDep(string sendman, string departments, string title = "", string content = "",bool isSendMail=true);
  31. Task WriteShortMessage(string sendman, string recieveIds, string title = "", string content = "", bool isSendMail = false);
  32. void WriteShortMessage2(string sendman, string recieveIds, string title = "", string content = "");
  33. List<SysAttachFile> GetAttachFile(QueryAttachDto input);
  34. Task<bool> CheckProductCanSendToCustomer(string productOrderNo, string customerNo);
  35. Task<bool> CheckProductCanSendToCustomer(List<string> productOrderNos, string customerNo);
  36. Task<bool> CheckOrderHasSend(string pcOrderNo);
  37. Task PreMonth();
  38. int? GetAppGuid(AppGuidType type);
  39. bool CheckStoreRecordCanUpdate(string houseStoreNo, int houseType = 1);
  40. bool CheckStoreCanUpdateByLocationNo(string locationNo, int houseType = 1);
  41. List<SelectListItem> FilterLocationInfo(int storeId, string areaNo = "", string shelfNo = "", string levelNo = "");
  42. void SendEmail(string toEmail, string title, string msg, bool isHtml);
  43. List<ProductionOrderDisCustomerDto> GetDisCustomerInfo(EntityDto<string> input);
  44. Task<string> GetProductionOrderNo(string createType="",string preOrderNo="", int isOutsourcing = 0);
  45. Task<ProductDto> GetNewProductInfo(string productNo);
  46. Task<SemiProductDto> GetNewSemiProductInfo(string productNo);
  47. Task<List<IndexAlertSumDto>> GetIndexAlertSum();
  48. Task<List<OrderHeaderDto>> GetOrderHeaderForAlert();
  49. Task<List<ProductionOrderDto>> GetProductionOrderForAlert();
  50. Task<List<ViewPackageApply>> GetPackageApplyForAlert();
  51. Task<List<CurrentProductStoreHouseDto>> GetProductStoreInfoByProductNo(string productNo);
  52. Task<PagedResultDto<SemiProductDto>> GetSemiProductNotContainOld(IwbPagedRequestDto input);
  53. Task<PagedResultDto<ProductDto>> GetProductNotContainOld(IwbPagedRequestDto input);
  54. List<OrderStatusChartDto> GetOrderStatusCharts(int qt);
  55. List<ProductionOrderStatusChartDto> GetProductionOrderStatusCharts();
  56. List<StatusChartDto> GetHomeStatusCharts(int ct, int qt);
  57. }
  58. }