diff --git a/common/src/main/resources/mapper/ReportDataMapper.xml b/common/src/main/resources/mapper/ReportDataMapper.xml index 61daf532..6bb7deec 100644 --- a/common/src/main/resources/mapper/ReportDataMapper.xml +++ b/common/src/main/resources/mapper/ReportDataMapper.xml @@ -165,20 +165,24 @@ AND ZSD.SFC = #{sfc} - - AND RU.ROUTER_TYPE = #{routerType} - - - AND RU.ROUTER_TYPE != #{routerType} - + + + AND RU.ROUTER_TYPE = #{routerType} + + + AND RU.ROUTER_TYPE != 'C' + + - - AND ZSD.DISPATCH_STATUS != 'START' AND ZSD.DISPATCH_STATUS != 'COMPLETE' AND ZSD.DISPATCH_STATUS != 'CANCEL' - - - AND ZSD.DISPATCH_STATUS = #{operationStatus} - + + + AND ZSD.DISPATCH_STATUS = #{operationStatus} + + + AND ZSD.DISPATCH_STATUS != 'START' AND ZSD.DISPATCH_STATUS != 'COMPLETE' AND ZSD.DISPATCH_STATUS != 'CANCEL' + + AND ZSD.PLANNED_START_DATE >= TO_DATE(#{startFromDate}, 'YYYY-MM-DD') - 8/24