From 594ef4d75e15d3f5c91ec3380777c6c514c10db7 Mon Sep 17 00:00:00 2001
From: dyy <807692433@qq.com>
Date: Tue, 29 Oct 2024 14:31:18 +0800
Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E6=8E=88?=
=?UTF-8?q?=E8=AF=BE=E8=80=83=E5=8B=A4=E5=BC=82=E5=B8=B8=E4=BF=AE=E6=94=B9?=
=?UTF-8?q?=EF=BC=9B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Learun.Application.Web/XmlConfig/system.config | 3 ---
.../ADR_Restriction/ADR_RestrictionService.cs | 5 +----
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/system.config b/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/system.config
index 7485bf014..b7eed8e98 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/system.config
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/system.config
@@ -180,8 +180,5 @@
-
-
-
\ No newline at end of file
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/ADR_Restriction/ADR_RestrictionService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/ADR_Restriction/ADR_RestrictionService.cs
index dfef4658f..7b66181aa 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/ADR_Restriction/ADR_RestrictionService.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/ADR_Restriction/ADR_RestrictionService.cs
@@ -2308,9 +2308,6 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement
///
public void DoHandleError()
{
- var clockTime1 = Config.GetValue("clockTime1");
- var clockTime2 = Config.GetValue("clockTime2");
-
try
{
var list = this.BaseRepository("CollegeMIS").FindList($@"select * from
@@ -2321,7 +2318,7 @@ sum(case when t.ADType=1 then 1 else 0 end) as total1,sum(case when t.ADType=2 t
from Teach_Attendance t
left join ArrangeLessonTerm a on t.ALTId=a.ALTId
where a.AcademicYearNo='24-25' and a.Semester='1' and CONVERT(date,a.InsertDate)='2024-10-05'
-and CONVERT(date,t.ADTime)>='{clockTime1}' and CONVERT(date,t.ADTime)<='{clockTime2}'
+and CONVERT(date,t.ADTime)>='2024-09-01' and CONVERT(date,t.ADTime)<='2024-10-22'
group by CONVERT(date,t.ClockTime),t.EmpNo,t.EmpName
)as bb
where bb.total1!=bb.total2 or bb.total!=bb.arrangetotal