using SlnMesnac.Model.domain;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace SlnMesnac.Repository.service
{
    public interface ILogoIdentifyService
    {
        
        /// <summary>
        /// 查询所有数据
        /// </summary>
        /// <returns></returns>
        Task<List<LogoIdentify>> GetAllRecordAsync();


        /// <summary>
        /// 指定条码查询数据
        /// </summary>
        /// <returns></returns>
        Task<List<LogoIdentify>> GetRecordByCodeAsync(string code);

        /// <summary>
        /// 时间段条件查询
        /// </summary>
        /// <returns></returns>
        Task<List<LogoIdentify>> QueryAllByTime(DateTime beginTime, DateTime endTime);


        /// <summary>
        /// 插入数据
        /// </summary>
        /// <param name="ocrRecord"></param>
        /// <returns></returns>
        bool InsertRecord(LogoIdentify ocrRecord);

        /// <summary>
        /// 人工修正结果
        /// </summary>
        /// <returns></returns>
       bool ChangeResult();
    }
}
