ICommonAppService.cs 2.8 KB

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