刘磊
2024-11-23 4c511d29869878c7a7ea015cbac4367faeb0e27b
Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_BasicInfoService/Partial/Method.cs
@@ -11,7 +11,14 @@
    {
        public List<Dt_StationManager> GetAllStationByDeviceCode(string DeviceCode)
        {
            //todo: 使用缓存储存
            return BaseDal.QueryData(x => x.stationPLC == DeviceCode).ToList();
        }
        public Dt_StationManager GetStationInfoByChildCode(string ChildCode, string area)
        {
            return BaseDal.QueryFirst(x => x.stationChildCode == ChildCode && x.stationArea == area);
        }
    }
}