You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AUCMA_SCADA/Admin.Core.IService/IService_New/ICodeBindingRecordServices.cs

32 lines
853 B
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using Admin.Core.IService;
using Admin.Core.Model;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Admin.Core.IService
{
/// <summary>
/// 条码绑定
/// </summary>
public interface ICodeBindingRecordServices : IBaseServices<CodeBindingRecord>
{
/// <summary>
/// 查询第一条数据
/// </summary>
/// <returns></returns>
Task<CodeBindingRecord> FirstAsync();
/// <summary>
/// 时间段条件查询
/// </summary>
/// <returns></returns>
Task<List<CodeBindingRecord>> QueryAllByTime(string time1,string time2);
/// <summary>
///查询条码2为null的数据并取最新的一条
/// </summary>
/// <returns></returns>
Task<List<CodeBindingRecord>> QueryByTime();
}
}