Forráskód Böngészése

根据部门ID获取具有查看权限的摄像头添加摄像头用途查询条件

bihuisong 2 hete
szülő
commit
a303912dcd

+ 2 - 1
src/main/java/com/sooka/sponest/monitor/tvwall/domain/TVWallVO.java

@@ -18,7 +18,8 @@ public class TVWallVO extends BaseBusinessEntity {
     private String type;
     private Long deptId;
     private String deptProtype;
-
+    /** 摄像头用途 */
+    private String cameraUse;
 
 
 

+ 1 - 0
src/main/java/com/sooka/sponest/monitor/tvwall/service/impl/TVWallServiceImpl.java

@@ -106,6 +106,7 @@ public class TVWallServiceImpl  extends BaseService implements TVWallService {
         VisuForestMonitorCenterVO bo = new VisuForestMonitorCenterVO();
         bo.setDeptId(vo.getDeptId());
         bo.setType(vo.getType());
+        bo.setCameraUse(vo.getCameraUse());
         /*******************对象转换************************/
         List<treeLabels> treeLabelsList = new ArrayList<>();
         List<VisuForestCloudCameraBO> list = centermonitorTCameraMapper.selectCameraByDepId(bo);