ICommonAppService.cs 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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;
  18. using ShwasherSys.Order.Dto;
  19. using ShwasherSys.PackageInfo;
  20. using ShwasherSys.PackageInfo.Dto;
  21. using ShwasherSys.ProductInfo.Dto;
  22. using ShwasherSys.ProductionOrderInfo.Dto;
  23. using ShwasherSys.ProductStoreInfo;
  24. using ShwasherSys.ProductStoreInfo.Dto;
  25. namespace ShwasherSys.Common
  26. {
  27. public interface ICommonAppService:IApplicationService
  28. {
  29. string KeepClock();
  30. Task CloseProductOrder();
  31. Task WriteShortMessageByDep(string sendman, string departments, string title = "", string content = "",bool isSendMail=true);
  32. Task WriteShortMessage(string sendman, string recieveIds, string title = "", string content = "", bool isSendMail = false);
  33. void WriteShortMessage2(string sendman, string recieveIds, string title = "", string content = "");
  34. List<SysAttachFile> GetAttachFile(QueryAttachDto input);
  35. Task<bool> CheckProductCanSendToCustomer(string productOrderNo, string customerNo);
  36. Task<bool> CheckProductCanSendToCustomer(List<string> productOrderNos, string customerNo);
  37. Task<bool> CheckOrderHasSend(string pcOrderNo);
  38. Task PreMonth();
  39. int? GetAppGuid(AppGuidType type);
  40. bool CheckStoreRecordCanUpdate(string houseStoreNo, int houseType = 1);
  41. bool CheckStoreCanUpdateByLocationNo(string locationNo, int houseType = 1);
  42. List<SelectListItem> FilterLocationInfo(int storeId, string areaNo = "", string shelfNo = "", string levelNo = "");
  43. void SendEmail(string toEmail, string title, string msg, bool isHtml);
  44. List<ProductionOrderDisCustomerDto> GetDisCustomerInfo(EntityDto<string> input);
  45. Task<string> GetProductionOrderNo(string createType="",string preOrderNo="", int isOutsourcing = 0);
  46. Task<ProductDto> GetNewProductInfo(string productNo);
  47. Task<SemiProductDto> GetNewSemiProductInfo(string productNo);
  48. Task<List<IndexAlertSumDto>> GetIndexAlertSum();
  49. Task<List<OrderHeaderDto>> GetOrderHeaderForAlert();
  50. Task<List<ProductionOrderDto>> GetProductionOrderForAlert();
  51. Task<List<ViewPackageApply>> GetPackageApplyForAlert();
  52. Task<List<CurrentProductStoreHouseDto>> GetProductStoreInfoByProductNo(string productNo);
  53. Task<PagedResultDto<SemiProductDto>> GetSemiProductNotContainOld(IwbPagedRequestDto input);
  54. Task<PagedResultDto<ProductDto>> GetProductNotContainOld(IwbPagedRequestDto input);
  55. List<OrderStatusChartDto> GetOrderStatusCharts(int qt);
  56. List<ProductionOrderStatusChartDto> GetProductionOrderStatusCharts();
  57. List<StatusChartDto> GetHomeStatusCharts(int ct, int qt);
  58. #region 2024
  59. Task UnLockOrderStore(OrderItem orderItem);
  60. #endregion
  61. }
  62. }