|
|
@@ -2308,9 +2308,6 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement |
|
|
|
/// <returns></returns> |
|
|
|
public void DoHandleError() |
|
|
|
{ |
|
|
|
var clockTime1 = Config.GetValue("clockTime1"); |
|
|
|
var clockTime2 = Config.GetValue("clockTime2"); |
|
|
|
|
|
|
|
try |
|
|
|
{ |
|
|
|
var list = this.BaseRepository("CollegeMIS").FindList<HandleErrorModel>($@"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 |
|
|
|