diff --git a/web-infrastructure/src/main/resources/mapper/KeyProjectMapper.xml b/web-infrastructure/src/main/resources/mapper/KeyProjectMapper.xml index fa470ca..fd2df16 100644 --- a/web-infrastructure/src/main/resources/mapper/KeyProjectMapper.xml +++ b/web-infrastructure/src/main/resources/mapper/KeyProjectMapper.xml @@ -260,7 +260,7 @@ select kp.id, kp.jurisdiction_corpinfo_id as jurisdictionCorpinfoId, COUNT(distinct kp.id) AS totalProjectCount, - COUNT(DISTINCT CASE WHEN kp.apply_status = 4 THEN kp.id END) AS startCount, + COUNT(DISTINCT CASE WHEN kp.apply_status IN (2,3,4,5) THEN kp.id END) AS startCount, COUNT(DISTINCT CASE WHEN kp.apply_status = 6 THEN kp.id END) AS completeCount, COUNT(DISTINCT CASE WHEN kpc.camera_type = 1 THEN kpc.camera_id END) AS fixedCameraCount, COUNT(DISTINCT CASE WHEN kpc.camera_type = 2 THEN kpc.camera_id END) AS mobileCameraCount,