using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web.Mvc; using Abp.Application.Services; using Abp.Application.Services.Dto; using Abp.Domain.Entities; using IwbZero.AppServiceBase; using ShwasherSys.BaseSysInfo; using ShwasherSys.BaseSysInfo.States.Dto; using ShwasherSys.BaseSysInfo.SysAttachFiles.Dto; using ShwasherSys.Common.Dto; using ShwasherSys.Common.Dto.HomeChartDto; using ShwasherSys.CustomerInfo; using ShwasherSys.Order.Dto; using ShwasherSys.PackageInfo; using ShwasherSys.PackageInfo.Dto; using ShwasherSys.ProductInfo.Dto; using ShwasherSys.ProductionOrderInfo.Dto; using ShwasherSys.ProductStoreInfo; using ShwasherSys.ProductStoreInfo.Dto; namespace ShwasherSys.Common { public interface ICommonAppService:IApplicationService { string KeepClock(); Task CloseProductOrder(); Task WriteShortMessageByDep(string sendman, string departments, string title = "", string content = "",bool isSendMail=true); Task WriteShortMessage(string sendman, string recieveIds, string title = "", string content = "", bool isSendMail = false); void WriteShortMessage2(string sendman, string recieveIds, string title = "", string content = ""); List GetAttachFile(QueryAttachDto input); Task CheckProductCanSendToCustomer(string productOrderNo, string customerNo); Task CheckProductCanSendToCustomer(List productOrderNos, string customerNo); Task CheckOrderHasSend(string pcOrderNo); Task PreMonth(); int? GetAppGuid(AppGuidType type); bool CheckStoreRecordCanUpdate(string houseStoreNo, int houseType = 1); bool CheckStoreCanUpdateByLocationNo(string locationNo, int houseType = 1); List FilterLocationInfo(int storeId, string areaNo = "", string shelfNo = "", string levelNo = ""); void SendEmail(string toEmail, string title, string msg, bool isHtml); List GetDisCustomerInfo(EntityDto input); Task GetProductionOrderNo(string createType="",string preOrderNo="", int isOutsourcing = 0); Task GetNewProductInfo(string productNo); Task GetNewSemiProductInfo(string productNo); Task> GetIndexAlertSum(); Task> GetOrderHeaderForAlert(); Task> GetProductionOrderForAlert(); Task> GetPackageApplyForAlert(); Task> GetProductStoreInfoByProductNo(string productNo); Task> GetSemiProductNotContainOld(IwbPagedRequestDto input); Task> GetProductNotContainOld(IwbPagedRequestDto input); List GetOrderStatusCharts(int qt); List GetProductionOrderStatusCharts(); List GetHomeStatusCharts(int ct, int qt); } }