using Ropin.Inspection.Model; using Ropin.Inspection.Service.Interface; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace Ropin.Inspection.Service { public interface ITprdProductService : IBaseService, IBaseServiceById { Task GetAlertProductByCodeAsync(Guid code); Task GetValiDateProductByCodeAsync(Guid code); Task> GetDeviceByAreaCode(TprdDeviceByAreaSearchModel searchModel); Task> GetProductWithDataByAsync(TprdProductWithDataSearchModel searchModel); Task GetProductByQRCodeAsync(string QRCode, string storeCode); Task> GetAllAsync(); Task> GetByConditionAsync(Expression> expression); Task UpdateAsync(Guid id, TprdProductUpdateModel updateModel); Task> GetConditionAsync(TprdProductSearchModel searchModel); Task GetDeviceCountByAsync(string storeCode); Task GetAlertDeviceCountByAsync(string storeCode); Task> GetAlertProductsByAsync(string storeCode); Task> GetValiDateProductsByAsync(string storeCode); } }