Explorar o código

获取覆盖范围摄像头数量添加camera_use查询条件

bihs hai 1 semana
pai
achega
542c362da0

+ 3 - 0
src/main/resources/mapper/monitor/camera/CentermonitorTCameraMapper.xml

@@ -622,6 +622,9 @@
         <if test="deptId != null and deptId != ''">
             AND b.map_dept_id = #{deptId}
         </if>
+        <if test="cameraUse != null and cameraUse != ''">
+            AND a.camera_use= #{cameraUse}
+        </if>
         GROUP BY
         a.camera_radius
         order by CAST(a.camera_radius AS UNSIGNED) DESC