From 36d872855097bc1d76b96b850a72d7749500e272 Mon Sep 17 00:00:00 2001
From: wankeda <Administrator@DESKTOP-HAU3ST3>
Date: 星期四, 26 二月 2026 16:26:51 +0800
Subject: [PATCH] 1
---
WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs b/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
index 9eccfaa..b8909c6 100644
--- a/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
+++ b/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
@@ -901,7 +901,7 @@
.ToList();
Dt_InboundOrder? dt_InboundOrder = _inboundService.InbounOrderService.Db.Queryable<Dt_InboundOrder>().Where(x => x.OrderNo == inboundOrder.OrderNo).Includes(x => x.Details).First();
- if (StockInfos.Count == 0) throw new Exception("鏈壘鍒板簱瀛樹俊鎭�");
+ if (StockInfos.Count == 0) throw new Exception("鏈壘鍒板簱瀛樹俊鎭�");
var houseSyncretism = new NewHouseInboundPassBack
{
@@ -1783,7 +1783,7 @@
.Where(x => x.OrderId == outboundOrder.Id)
.ToList();
}
- if ((outboundOrderDetails == null && outboundOrderDetails1 == null) || (outboundOrderDetails.Count == 0 && outboundOrderDetails1.Count == 0))
+ if ((outboundOrderDetails == null && outboundOrderDetails1 == null) || (outboundOrderDetails.Count == 0 && outboundOrderDetails1.Count == 0))
{
throw new Exception($"鏈壘鍒版墭鐩� {stockInfo.PalletCode} 鍦ㄨ揣浣� {stockInfo.LocationCode} 涓婄殑鍑哄簱鍗曟槑缁�");
}
@@ -2278,7 +2278,7 @@
outboundOrderDetails.Add(outboundOrderDetail);
}
- for (var i = 0; i<outboundOrderDetails.Count; i++)
+ for (var i = 0; i < outboundOrderDetails.Count; i++)
{
if (outboundOrderDetails[i].LocationName != null && outboundOrderDetails[i].LocationName != "")
{
@@ -3589,12 +3589,11 @@
{
Console.WriteLine($"馃搫 姝e湪鎵撳嵃鍒� {printerName}: {Path.GetFileName(filePath)}");
- string command = $"lpr -P {printerName} \"{filePath}\"";
+ // 浣跨敤 lp 鍛戒护锛屾坊鍔� -o raw 閫夐」
+ string command = $"lp -d {printerName} -o raw \"{filePath}\"";
ExecuteShellCommand(command);
}
-
-
/// <summary>
/// 鎵ц Shell 鍛戒护
/// </summary>
--
Gitblit v1.9.3