From 03ae5d9a6570586f2f30362d7fa3da3bbf25c3b3 Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期四, 10 十月 2024 16:48:32 +0800
Subject: [PATCH] 添加单点登录,修改界面单表修改数据-修改人修改时间-问题

---
 WIDESEAWCS_Server/WIDESEAWCS_Core/AOP/SqlSugarAop.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/WIDESEAWCS_Server/WIDESEAWCS_Core/AOP/SqlSugarAop.cs b/WIDESEAWCS_Server/WIDESEAWCS_Core/AOP/SqlSugarAop.cs
index 5fde8d1..7382007 100644
--- a/WIDESEAWCS_Server/WIDESEAWCS_Core/AOP/SqlSugarAop.cs
+++ b/WIDESEAWCS_Server/WIDESEAWCS_Core/AOP/SqlSugarAop.cs
@@ -28,7 +28,7 @@
                     }
                 }
 
-                if (entityInfo.OperationType == DataFilterType.UpdateByObject)
+                else if (entityInfo.OperationType == DataFilterType.UpdateByObject)
                 {
                     baseEntity.ModifyDate = DateTime.Now;
                 }

--
Gitblit v1.9.3