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.
20 lines
511 B
C#
20 lines
511 B
C#
using Aucma.Scada.Model.domain;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace HighWayIot.Repository.service.Impl
|
|
{
|
|
public class PrintBarCodeServicesImpl: IPrintBarCodeServices
|
|
{
|
|
Repository<PrintBarCode> _repository => new Repository<PrintBarCode>("scada");
|
|
|
|
public PrintBarCode query(string code)
|
|
{
|
|
return _repository.GetFirst(x => x.MaterialBarcode.Equals(code));
|
|
}
|
|
}
|
|
}
|