From 554fa8ad99c42b6c0e3ed2c56358a3d7dd9ded6e Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期五, 13 十二月 2024 14:11:45 +0800
Subject: [PATCH] 11

---
 MES.Service/service/BasicData/MesRohInManager.cs |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/MES.Service/service/BasicData/MesRohInManager.cs b/MES.Service/service/BasicData/MesRohInManager.cs
index c7ad1e9..83bf792 100644
--- a/MES.Service/service/BasicData/MesRohInManager.cs
+++ b/MES.Service/service/BasicData/MesRohInManager.cs
@@ -72,7 +72,7 @@
         var baOrUpdate = db.Insertable(mesRohInDatas).PageSize(1)
             .IgnoreColumnsNull()
             .ExecuteCommand() > 0;
-        
+
         if (orUpdate && baOrUpdate) return true;
         throw new NotImplementedException("鎻掑叆鎴栨洿鏂板け璐�");
     }
@@ -118,14 +118,10 @@
         mesRohIn.CancellationPerson = rohIn.FCancellerId;
 
         if (rohIn.FCancelDate != null)
-        {
             if (!mesRohIn.CancellationPerson.IsNullOrEmpty())
-            {
                 mesRohIn.CancellationDate =
                     DateTime.ParseExact(rohIn.FCancelDate,
                         "yyyy-MM-dd HH:mm:ss", null);
-            }
-        }
 
         mesRohIn.CreateBy = rohIn.FCreatorId;
 

--
Gitblit v1.9.3