From 620cadbda2db7c252017c5699f547ed22c9b24f2 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Wed, 18 May 2022 18:15:21 +0800 Subject: [PATCH] xx --- .../Service/Management/SystemNoticeService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Management/SystemNoticeService.cs b/IRaCIS.Core.Application/Service/Management/SystemNoticeService.cs index f3ef1e8b6..93ab937e5 100644 --- a/IRaCIS.Core.Application/Service/Management/SystemNoticeService.cs +++ b/IRaCIS.Core.Application/Service/Management/SystemNoticeService.cs @@ -70,7 +70,7 @@ namespace IRaCIS.Core.Application.Service systemNotice.PublishedUserId = _userInfo.Id; systemNotice.PublishedTime = DateTime.Now; } - else + else if(addOrEditSystemNotice.NoticeStateEnum == Domain.Share.Management.SystemNotice_NoticeStateEnum.NotPublish && systemNotice.NoticeStateEnum == Domain.Share.Management.SystemNotice_NoticeStateEnum.HavePublished) { systemNotice.PublishedUserId = null; systemNotice.PublishedTime = null;