using Ropin.Inspection.Model.Entities; using Ropin.Inspection.Model.SearchModel; using Ropin.Inspection.Model.ViewModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ropin.Inspection.Repository.Interface { public interface ITispRecordRepository : IRepositoryBase, IRepositoryBaseById { Task GetRecordAsync(Guid id); Task> GetRecordsConditionAsync(TispRecordSearchModel searchModel); Task> GetAllSpotRecordAsync(AllSpotRecordSearchModel searchModel); Task> GetUserSpotRecordAsync(UserSpotRecordSearchModel searchModel); Task GetUserTodaySpotRecordCountAsync(Guid id, string storeCode); //Task GetAllTodaySpotRecordCountAsync(string storeCode); Task GetUserTodayNotSpotRecordCountAsync(Guid id, string storeCode); //Task GetAllTodayNotSpotRecordCountAsync(); //Task> GetUserTodaySpotRecordsAsync(Guid id); //Task> GetUserTodayNotSpotRecordsAsync(Guid id); //Task> GetRecords30DaysStatisticsAsync(); //Task> GetAlarmRecovery7DaysStatisticsAsync(); //Task GetTodaySpotStatisticsAsync(); //Task GetTodaySpotContentStatisticsAsync(); //Task> GetRecord12MonthStatisticsAsync(); Task GetAllTodaySpotRecordCountAsync(string storeCode); Task GetAllTodayNotSpotRecordCountAsync(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); } }