From 84caf6b9b5fc521b90c88fd0662df9bd8a62d69b Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期四, 23 四月 2026 16:46:38 +0800
Subject: [PATCH] fix: 修改查询条件和调整表格列宽
---
Code/WMS/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoService.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoService.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoService.cs
index 8a808ae..10f0047 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoService.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoService.cs
@@ -197,7 +197,7 @@
/// <returns>搴撳瓨淇℃伅</returns>
public async Task<Dt_StockInfo> GetStockInfoAsync(string palletCode, string locationCode)
{
- return await BaseDal.QueryFirstAsync(x => x.PalletCode == palletCode && x.LocationCode == locationCode);
+ return await BaseDal.QueryDataNavFirstAsync(x => x.PalletCode == palletCode && x.LocationCode == locationCode);
}
/// <summary>
@@ -391,7 +391,7 @@
{
try
{
- var stockInfo = await BaseDal.QueryDataFirstAsync(x => x.PalletCode == palletCode);
+ var stockInfo = await BaseDal.QueryFirstAsync(x => x.PalletCode == palletCode);
if (stockInfo == null)
return false;
--
Gitblit v1.9.3