From 9c11d971c382d8ca8b9b0d893929e2973151bbdf Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期五, 20 九月 2024 17:41:56 +0800
Subject: [PATCH] 打印的后台接口

---
 MES.Service/service/MessageCenterManager.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/MES.Service/service/MessageCenterManager.cs b/MES.Service/service/MessageCenterManager.cs
index 255bac7..b377f2d 100644
--- a/MES.Service/service/MessageCenterManager.cs
+++ b/MES.Service/service/MessageCenterManager.cs
@@ -70,6 +70,10 @@
                 .SetColumns(a => a.ResultData == entity.ResultData)
                 .SetColumns(a => a.Status == entity.Status)
                 .SetColumns(a => a.DealWith == entity.DealWith)
+                .SetColumnsIF(!string.IsNullOrEmpty(entity.UpdateBy),
+                    a => a.UpdateBy == entity.UpdateBy)
+                .SetColumnsIF(!string.IsNullOrEmpty(entity.UpdateDate),
+                    a => a.UpdateDate == entity.UpdateDate)
                 .Where(a => a.Id == entity.Id)
                 .ExecuteCommand();
         });

--
Gitblit v1.9.3