ICommonAppService.cs 3.4 KB

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