using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using WIDESEAWCS_Core;
|
using WIDESEAWCS_Core.BaseRepository;
|
using WIDESEAWCS_Core.BaseServices;
|
using WIDESEAWCS_ISystemServices;
|
using WIDESEAWCS_Model.Models.System;
|
|
namespace WIDESEAWCS_SystemServices
|
{
|
public class Dt_StationMangerService : ServiceBase<Dt_StationManger, IRepository<Dt_StationManger>>, IDt_StationMangerService
|
{
|
public Dt_StationMangerService(IRepository<Dt_StationManger> BaseDal) : base(BaseDal)
|
{
|
}
|
|
public IRepository<Dt_StationManger> Repository => BaseDal;
|
|
//WMS根据站台名称查询站台
|
public string SelectStationManger(string StationName)
|
{
|
Dt_StationManger stationManger = BaseDal.QueryFirst(x => x.StationName == StationName);
|
return stationManger.location;
|
}
|
}
|
}
|