diff --git a/src/main/resources/mapper/schedule/ScheduleMapper.xml b/src/main/resources/mapper/schedule/ScheduleMapper.xml index b539b17..f8290a5 100644 --- a/src/main/resources/mapper/schedule/ScheduleMapper.xml +++ b/src/main/resources/mapper/schedule/ScheduleMapper.xml @@ -429,10 +429,10 @@ and b.S_ShiftNo = #{shiftNo} - and ReportDate >= #{startDate} + and b.ReportDate >= #{startDate} - and #{endDate} >= ReportDate + and #{endDate} >= b.ReportDate ) d @@ -470,10 +470,10 @@ and c.S_ShiftNo = #{shiftNo} - and ReportDate >= #{startDate} + and b.ReportDate >= #{startDate} - and #{endDate} >= ReportDate + and #{endDate} >= b.ReportDate and a.defectCode like #{defectCode} @@ -518,10 +518,10 @@ and b.S_ShiftNo = #{shiftNo} - and ReportDate >= #{startDate} + and b.ReportDate >= #{startDate} - and #{endDate} >= ReportDate + and #{endDate} >= b.ReportDate ) a @@ -560,10 +560,10 @@ and b.S_ShiftNo = #{shiftNo} - and ReportDate >= #{startDate} + and b.ReportDate >= #{startDate} - and #{endDate} >= ReportDate + and #{endDate} >= b.ReportDate ) a @@ -602,10 +602,10 @@ and b.S_ShiftNo = #{shiftNo} - and ReportDate >= #{startDate} + and b.ReportDate >= #{startDate} - and #{endDate} >= ReportDate + and #{endDate} >= b.ReportDate ) a @@ -644,10 +644,10 @@ and b.S_ShiftNo = #{shiftNo} - and ReportDate >= #{startDate} + and b.ReportDate >= #{startDate} - and #{endDate} >= ReportDate + and #{endDate} >= b.ReportDate ) a