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 ITispRecordItemRepository : IRepositoryBase, IRepositoryBaseById { Task GetContentAlarmCout(Guid contentId, Guid spotId); Task>> GetRecordItemsByRecordIdAsync(Guid recordId); Task> GetRecordsConditionAsync(Guid recordId); Task> GetRecordItemByIdAsync(Guid id); Task> GetAlarmRecordsAsync(TispRecordAlarmSearchModel searchModel); Task> GetAlarmRecordListAsync(TispRecordAlarmSearchModel searchModel); Task> GetAlarmRecoveryRecordsAsync(TispRecordAlarmSearchModel searchModel); Task GetAlarmRecordsCountAsync(TispRecordAlarmSearchModel searchModel); Task GetAlarmRecoveryRecordsCountAsync(TispRecordAlarmSearchModel searchModel); Task> GetAlarmRecordsByQRCodeAsync(string QRCode, string storeCode); Task> GetNewRecordByQRCodeAsync(string QRCode, string storeCode); Task> GetFirePreventionWeekRecordAsync(DateTime start, DateTime end, string storeCode); Task> GetFireFightingFacilitiesAsync(DateTime start, DateTime end, string storeCode); Task> GetFireInspectionRecordAsync(DateTime start, DateTime end, string storeCode); Task HiddenDangerRectificationAcceptanceForm(DateTime start, DateTime end, string storeCode); Task> GetAlarmRecordsByRecordItemIdAsync(Guid itemId); } }