diff --git a/web-infrastructure/src/main/resources/mapper/KeyProjectCameraMapper.xml b/web-infrastructure/src/main/resources/mapper/KeyProjectCameraMapper.xml index 60c6afe..610cb81 100644 --- a/web-infrastructure/src/main/resources/mapper/KeyProjectCameraMapper.xml +++ b/web-infrastructure/src/main/resources/mapper/KeyProjectCameraMapper.xml @@ -92,7 +92,7 @@ SELECT lpc.*, c.video_name cameraName, - c.is_online, + IFNULL(c.is_online,0) is_online, kpai.algorithm_id, group_concat(DISTINCT a.name) as algorithmType FROM key_project_camera lpc