You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
using Entity.DbModel.Station;
|
|
|
|
using HybirdFrameworkCore.Autofac.Attribute;
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
namespace Repository.Station;
|
|
|
|
|
|
|
|
[Scope("SingleInstance")]
|
|
|
|
public class BinInfoRepository : BaseRepository<BinInfo>
|
|
|
|
{
|
|
|
|
public BinInfoRepository(ISqlSugarClient sqlSugar) : base(sqlSugar)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="binNo"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
public BinInfo? QueryByBinNo(string binNo)
|
|
|
|
{
|
|
|
|
return this.QueryByClause(it => it.No == binNo);
|
|
|
|
}
|
|
|
|
}
|