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.
25 lines
428 B
25 lines
428 B
using EC.Entity.Transport;
|
|
using EC.Service.Base;
|
|
|
|
namespace EC.Service.Transport
|
|
{
|
|
public class TruckService : MvcService<TruckEntity>
|
|
{
|
|
public TruckService()
|
|
{
|
|
}
|
|
|
|
#region BLL
|
|
|
|
/// <summary>
|
|
/// 通过 LicensePlate 查询对象
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public TruckEntity GetTruckByPlate(string plate)
|
|
{
|
|
return SelectEntityByWhere($"LicensePlate='{plate}'");
|
|
}
|
|
|
|
#endregion BLL
|
|
}
|
|
}
|