Commit cb98676c authored by 郭武斌's avatar 郭武斌

*)修改方法名

parent d94bc6c1
...@@ -195,7 +195,7 @@ public interface EquipFeignClient { ...@@ -195,7 +195,7 @@ public interface EquipFeignClient {
@RequestMapping(value = "/monitorView/video/page", method = RequestMethod.GET) @RequestMapping(value = "/monitorView/video/page", method = RequestMethod.GET)
ResponseModel<Page<Map<String, Object>>> queryUncheckedVideoList( ResponseModel<Page<Map<String, Object>>> queryVideoPage(
@RequestParam(value = "nodeId") Long nodeId, @RequestParam(value = "nodeId") Long nodeId,
@RequestParam(value = "nodeType" ,required =false) String nodeType, @RequestParam(value = "nodeType" ,required =false) String nodeType,
@RequestParam(value = "current") int current, @RequestParam(value = "current") int current,
......
...@@ -357,7 +357,7 @@ public class CommandController extends BaseController { ...@@ -357,7 +357,7 @@ public class CommandController extends BaseController {
@RequestParam(value = "size") int size @RequestParam(value = "size") int size
) throws Exception ) throws Exception
{ {
ResponseModel<Page<Map<String, Object>>> data = equipFeignClient.queryUncheckedVideoList(nodeId,nodeType,current,size); ResponseModel<Page<Map<String, Object>>> data = equipFeignClient.queryVideoPage(nodeId,nodeType,current,size);
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