diff --git a/mhd-bi/src/main/resources/mapper/biPlatformRealData/BiPlatformRealDataMapper.xml b/mhd-bi/src/main/resources/mapper/biPlatformRealData/BiPlatformRealDataMapper.xml index ce5d839e4..beae38d61 100644 --- a/mhd-bi/src/main/resources/mapper/biPlatformRealData/BiPlatformRealDataMapper.xml +++ b/mhd-bi/src/main/resources/mapper/biPlatformRealData/BiPlatformRealDataMapper.xml @@ -59,7 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" SUM(CASE WHEN TARGET_DATE IS NOT NULL AND TRUNC(TARGET_DATE) = TRUNC(SYSDATE) THEN 1 ELSE 0 END) AS total, SUM(CASE WHEN ENTRY_TIME IS NOT NULL AND TRUNC(TARGET_DATE) = TRUNC(SYSDATE) - AND ENTRY_TIME <= BOOKING_END_TIME + AND ENTRY_TIME <= BOOKING_END_TIME THEN 1 ELSE 0 END) AS onTimeCount FROM NGWL_TEST_YMS.QMS_MAIN_BUSINESS