From 72eb35063c2603b546c216d5106659bb04663166 Mon Sep 17 00:00:00 2001 From: ndbs Date: Fri, 1 Sep 2023 17:54:24 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E7=9F=A5=E5=85=AC=E5=91=8A=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E5=8E=BB=E6=8E=89=E5=8F=AA=E7=BB=9F=E8=AE=A120?= =?UTF-8?q?=E5=BC=80=E5=A4=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Learun.Application.OA/Notice/NoticeService.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.OA/Notice/NoticeService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.OA/Notice/NoticeService.cs index 470cbceb9..6c311a10d 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.OA/Notice/NoticeService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.OA/Notice/NoticeService.cs @@ -67,7 +67,6 @@ namespace Learun.Application.OA @"select ruserid,COUNT(1) as srnum from LR_OA_News t left join LR_OA_NewsShouldRead s on s.newsid=t.f_newsid left join lr_base_user u on s.RUserId=u.F_UserId WHERE t.F_TypeId = 2 and t.F_DeleteMark=0 and t.F_EnabledMark=1 - and u.F_Account like '20%' and t.F_ReleaseTime>CONVERT(datetime,SUBSTRING(u.F_Account,1,4)+'-08-31',120) "); if (!queryParam["Year"].IsEmpty() && !queryParam["Month"].IsEmpty()) { @@ -79,7 +78,6 @@ left join lr_base_user u on s.RUserId=u.F_UserId @" select ruserid,COUNT(1) as rnum from LR_OA_News t left join LR_OA_NewsRead r on r.newsid=t.f_newsid left join lr_base_user u on r.RUserId=u.F_UserId WHERE t.F_TypeId = 2 and t.F_DeleteMark=0 and t.F_EnabledMark=1 - and u.F_Account like '20%' and t.F_ReleaseTime>CONVERT(datetime,SUBSTRING(u.F_Account,1,4)+'-08-31',120) and DATEDIFF(HOUR,t.F_ReleaseTime,r.RTime)<=24*7 "); if (!queryParam["Year"].IsEmpty() && !queryParam["Month"].IsEmpty())