From 58ebc83f3892b4d84d2cb07a388ac361268a4a19 Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期二, 11 三月 2025 17:56:44 +0800 Subject: [PATCH] 1 --- 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ShuttleCar/ShuttleCarService.cs | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ShuttleCar/ShuttleCarService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ShuttleCar/ShuttleCarService.cs" index 10c78b7..7644c78 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ShuttleCar/ShuttleCarService.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ShuttleCar/ShuttleCarService.cs" @@ -25,11 +25,11 @@ /// <returns></returns> public Dt_ShuttleCar QueryShuttleCar(string Address) { - return BaseDal.QueryFirst(x => x.ShuttleCarPosition == Address); + return BaseDal.QueryFirst(x => x.ShuttleCarPosition == Address || x.ShuttleCarPosition1 == Address); } /// <summary> - /// 鏍规嵁ID鏌ヨ绌挎杞︿俊鎭� + /// 鏍规嵁绌挎杞︾紪鍙锋煡璇㈢┛姊溅淇℃伅 /// </summary> /// <param name="ShuttleCarId"></param> /// <returns></returns> @@ -37,5 +37,14 @@ { return BaseDal.QueryFirst(x => x.ShuttleCarCode == ShuttleCarCode); } + /// <summary> + /// 鏍规嵁绌挎杞︾紪鍙锋煡璇㈠叾浠栫┛姊溅淇℃伅 + /// </summary> + /// <param name="ShuttleCarCode"></param> + /// <returns></returns> + public Dt_ShuttleCar QueryNoCode(string ShuttleCarCode) + { + return BaseDal.QueryFirst(x => x.ShuttleCarCode != ShuttleCarCode); + } } } -- Gitblit v1.9.3