From a09470aa33092318953cbbd5ab2d869ef6104e03 Mon Sep 17 00:00:00 2001
From: admin <qiutairan163@163.com>
Date: 星期五, 21 十一月 2025 10:27:37 +0800
Subject: [PATCH] 格式化代码
---
Wms/WMS.BLL/BllPdaServer/PdaSoServer.cs | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Wms/WMS.BLL/BllPdaServer/PdaSoServer.cs b/Wms/WMS.BLL/BllPdaServer/PdaSoServer.cs
index d049c59..a9142a8 100644
--- a/Wms/WMS.BLL/BllPdaServer/PdaSoServer.cs
+++ b/Wms/WMS.BLL/BllPdaServer/PdaSoServer.cs
@@ -140,7 +140,7 @@
{
isNew = true;
- var newPalletInfo = await Db.Queryable<SysPallets>().FirstAsync(m => m.IsDel == "0" && m.PalletNo == palletNoNew && m.Status == "0");
+ var newPalletInfo = await Db.Queryable<SysPallets>().FirstAsync(m => m.IsDel == "0" && m.PalletNo == palletNoNew);//&& m.Status == "0"
if (newPalletInfo == null)
{
throw Oops.Bah("鏂版墭鐩樹俊鎭笉瀛樺湪锛�");
@@ -234,10 +234,10 @@
{
throw Oops.Bah($"褰撳墠{item.BoxNo}宸叉嫞璐у畬鎴愶紝璇峰嬁閲嶅鎷h揣");
}
- if (item.SkuNo != allot.SkuNo || item.LotNo != allot.LotNo)
- {
- throw Oops.Bah("褰撳墠鎵樼洏涓婃湁鍏朵粬涓嶅悓鐗╂枡鎵规锛屾嫞璐уけ璐�");
- }
+ //if (item.SkuNo != allot.SkuNo || item.LotNo != allot.LotNo)
+ //{
+ // throw Oops.Bah("褰撳墠鎵樼洏涓婃湁鍏朵粬涓嶅悓鐗╂枡鎵规锛屾嫞璐уけ璐�");
+ //}
//娣诲姞鎷h揣鏄庣粏
var completeDetail = new BllCompleteDetail()
{
--
Gitblit v1.8.0