using Ropin.Inspection.Model.SearchModel; using Ropin.Inspection.Model.ViewModel; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace Ropin.Inspection.Service.Interface { public interface ITispRecordService : IBaseService, IBaseServiceById { Task> GetAllAsync(string storeCode); Task> GetByConditionAsync(Expression> expression); Task UpdateAsync(Guid id, TispRecordUpdateViewModel updateModel); Task CreateRecordAndImageAsync(IEnumerable records); Task CreateRecordAsync(TispRecordCreateViewModel record); Task GetRecordAsync(Guid id); Task> GetRecordsConditionAsync(TispRecordSearchModel searchModel); Task> GetAllSpotRecordAsync(AllSpotRecordSearchModel searchModel); Task> GetUserSpotRecordAsync(UserSpotRecordSearchModel searchModel); Task GetUserTodaySpotRecordCountAsync(Guid id, string storeCode); Task GetUserTodayNotSpotRecordCountAsync(Guid id, string storeCode); Task> GetUserTodaySpotRecordsAsync(Guid id, string storeCode); Task> GetUserTodayNotSpotRecordsAsync(Guid id,string storeCode); Task GetRecords30DaysStatisticsAsync(string storeCode); Task GetAlarmRecovery7DaysStatisticsAsync(string storeCode); Task GetTodaySpotStatisticsAsync(string storeCode); Task GetTodaySpotContentStatisticsAsync(string storeCode); Task GetRecord12MonthStatisticsAsync(string storeCode); Task> GetRecord12MonthStatisticsFullScreenAsync(string storeCode); Task> GetAllDevOpsRecord12MonthStatisticsFullScreenAsync(string storeCode); } }