Commit 3e4f6984 authored by suhuiguang's avatar suhuiguang

1.机场物联监控 视频矩阵分页接口数据权限过滤

parent f4db1ab0
...@@ -198,7 +198,7 @@ public interface EquipFeignClient { ...@@ -198,7 +198,7 @@ public interface EquipFeignClient {
@RequestParam("buildingId") String buildingId, @RequestParam("buildingId") String buildingId,
@RequestParam("code") String code, @RequestParam("code") String code,
@RequestParam("equipmentName") String equipmentName, @RequestParam("equipmentName") String equipmentName,
@RequestParam("orgTypes") String orgTypes @RequestParam("bizOrgCode") String bizOrgCode
); );
......
...@@ -65,16 +65,4 @@ public class BuildingVideoListVO { ...@@ -65,16 +65,4 @@ public class BuildingVideoListVO {
@ApiModelProperty("机构编码") @ApiModelProperty("机构编码")
private String bizOrgCode; private String bizOrgCode;
/**
* id列表
*/
@ApiModelProperty("机构编码")
private List<String> bizOrgCodeList;
/**
* 部门号
*/
@ApiModelProperty("类型")
private String orgTypes;
} }
...@@ -319,7 +319,7 @@ public class CommandController extends BaseController { ...@@ -319,7 +319,7 @@ public class CommandController extends BaseController {
} }
@TycloudOperation(needAuth = true, ApiLevel = UserType.AGENCY) @TycloudOperation(ApiLevel = UserType.AGENCY)
@RequestMapping(value = "/video/page", method = RequestMethod.GET) @RequestMapping(value = "/video/page", method = RequestMethod.GET)
@ApiOperation(httpMethod = "GET", value = "分页获取视频", notes = "分页获取视频") @ApiOperation(httpMethod = "GET", value = "分页获取视频", notes = "分页获取视频")
public ResponseModel<Object> getVideopage(String current, public ResponseModel<Object> getVideopage(String current,
...@@ -327,10 +327,10 @@ public class CommandController extends BaseController { ...@@ -327,10 +327,10 @@ public class CommandController extends BaseController {
String equipmentName, String equipmentName,
String code, String code,
String buildingId, String buildingId,
@RequestParam(required = false) String orgTypes String bizOrgCode
) throws Exception { ) {
ResponseModel<Page<Map<String, Object>>> data = equipFeignClient.getVideopag(current, size, buildingId, code, equipmentName, orgTypes); ResponseModel<Page<Map<String, Object>>> data = equipFeignClient.getVideopag(current, size, buildingId, code, equipmentName, bizOrgCode);
Page<Map<String, Object>> pag = data != null ? data.getResult() : null; Page<Map<String, Object>> pag = data != null ? data.getResult() : null;
List<Map<String, Object>> records = pag != null ? pag.getRecords() : null; List<Map<String, Object>> records = pag != null ? pag.getRecords() : null;
if (records != null && records.size() > 0) { if (records != null && records.size() > 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment