From 1e12c140c041c0cb52306a0db9ff0ba18354d0d8 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期四, 03 四月 2025 18:01:52 +0800
Subject: [PATCH] 优化WMS前端首页,货位查询column数据库关键字处理
---
项目代码/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