From 3310acff96388d972aa7b995725a6562ae8c75ce Mon Sep 17 00:00:00 2001
From: wxw <Administrator@DESKTOP-5BIMHQ3>
Date: 星期一, 27 十月 2025 11:22:56 +0800
Subject: [PATCH] 修改问题
---
Wms/WMS.BLL/BllAsnServer/ArrivalNoticeServer.cs | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/Wms/WMS.BLL/BllAsnServer/ArrivalNoticeServer.cs b/Wms/WMS.BLL/BllAsnServer/ArrivalNoticeServer.cs
index b2366e1..775c4d6 100644
--- a/Wms/WMS.BLL/BllAsnServer/ArrivalNoticeServer.cs
+++ b/Wms/WMS.BLL/BllAsnServer/ArrivalNoticeServer.cs
@@ -417,7 +417,7 @@
// DateTime lot22;
// if (!DateTime.TryParse(detailModel.Lot1, out lot12))
// {
- // throw new Exception("闇�瑕佽楠岀墿鏂欑敓浜ф棩鏈熻浆鎹㈠け璐�");
+ // throw new Exception("闇�瑕佽楠屾枡鐢熶骇鏃ユ湡杞崲澶辫触");
// }
// if (!DateTime.TryParse(detailModel.Lot2, out lot22))
// {
@@ -431,16 +431,16 @@
DateTime lot12;
if (!DateTime.TryParse(detailModel.Lot1, out lot12))
{
- throw new Exception("闇�瑕佽楠岀墿鏂欑敓浜ф棩鏈熻浆鎹㈠け璐�");
+ throw new Exception("鐢熶骇鏃ユ湡杞崲澶辫触锛岃妫�鏌ユ牸寮忔槸鍚︽纭�");
}
lot1 = lot12.ToString("yyyy-MM-dd");
}
if (!string.IsNullOrEmpty(lot2))
{
DateTime lot22;
- if (!DateTime.TryParse(detailModel.Lot1, out lot22))
+ if (!DateTime.TryParse(detailModel.Lot2, out lot22))
{
- throw new Exception("闇�瑕佽楠岀墿鏂欑敓浜ф棩鏈熻浆鎹㈠け璐�");
+ throw new Exception("鍒版湡鏃ユ湡杞崲澶辫触锛岃妫�鏌ユ牸寮忔槸鍚︽纭�");
}
lot2 = lot22.ToString("yyyy-MM-dd");
}
@@ -695,16 +695,16 @@
DateTime lot12;
if (!DateTime.TryParse(detailModel.Lot1, out lot12))
{
- throw new Exception("闇�瑕佽楠岀墿鏂欑敓浜ф棩鏈熻浆鎹㈠け璐�");
+ throw new Exception("鐢熶骇鏃ユ湡杞崲澶辫触锛岃妫�鏌ユ牸寮忔槸鍚︽纭�");
}
detailModel.Lot1 = lot12.ToString("yyyy-MM-dd");
}
if (!string.IsNullOrEmpty(detailModel.Lot2))
{
DateTime lot22;
- if (!DateTime.TryParse(detailModel.Lot1, out lot22))
+ if (!DateTime.TryParse(detailModel.Lot2, out lot22))
{
- throw new Exception("闇�瑕佽楠岀墿鏂欑敓浜ф棩鏈熻浆鎹㈠け璐�");
+ throw new Exception("鍒版湡鏃ユ湡杞崲澶辫触锛岃妫�鏌ユ牸寮忔槸鍚︽纭�");
}
detailModel.Lot2 = lot22.ToString("yyyy-MM-dd");
}
--
Gitblit v1.8.0