From 6ed0553e8d5bc38b728979c2078d3cbffdc88bf2 Mon Sep 17 00:00:00 2001
From: 杨张扬 <634643841@qq.com>
Date: 星期五, 30 五月 2025 17:10:03 +0800
Subject: [PATCH] 1.双钱-规格时间配置这个,过期时间使用小时

---
 wms/SpecHelper.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/wms/SpecHelper.cs b/wms/SpecHelper.cs
index 7779c2a..bd4bc53 100644
--- a/wms/SpecHelper.cs
+++ b/wms/SpecHelper.cs
@@ -77,7 +77,7 @@
                 var log = JsonConvert.SerializeObject(model);
                 if (model != null)
                 {
-                    model.EXPIRATION = System.DateTime.Now.AddMinutes(GetExportTime(model.SPEC));
+                    model.EXPIRATION = System.DateTime.Now.AddHours(GetExportTime(model.SPEC));
 
                     if (db.Insertable<TN_EquipProDetail>(model).ExecuteCommand() > 0)
                     {
@@ -326,7 +326,7 @@
                     {
                         db.Deleteable<TN_InventoryM>(target).ExecuteCommand();
                     }
-                    model.EXPIRATION = System.DateTime.Now.AddMinutes(GetExportTime(model.SPEC));
+                    model.EXPIRATION = System.DateTime.Now.AddHours(GetExportTime(model.SPEC));
                     if (db.Insertable<TN_InventoryM>(model).ExecuteCommand() > 0)
                     {
                         LogHelper.Info($"鎻掑叆WMS搴撳瓨鏄庣粏鎴愬姛锛寋log}");

--
Gitblit v1.9.1