瀏覽代碼

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

bihs 1 周之前
父節點
當前提交
542c362da0
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/main/resources/mapper/monitor/camera/CentermonitorTCameraMapper.xml

+ 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