diff --git a/zc-business/src/main/java/com/zc/business/service/impl/DcBoardServiceImpl.java b/zc-business/src/main/java/com/zc/business/service/impl/DcBoardServiceImpl.java index 217f2d7a..75228554 100644 --- a/zc-business/src/main/java/com/zc/business/service/impl/DcBoardServiceImpl.java +++ b/zc-business/src/main/java/com/zc/business/service/impl/DcBoardServiceImpl.java @@ -59,7 +59,7 @@ public class DcBoardServiceImpl implements IDcBoardService { try{ //下发文件名 - Map param = new HashMap<>(); + HashMap param = new HashMap<>(); param.put("size","65535"); param.put("fileName","play010.lst"); ajaxResult = deviceController.invokedFunction(deviceId,"11",param); @@ -95,6 +95,7 @@ public class DcBoardServiceImpl implements IDcBoardService { releaseLog.setReleaseUserId(loginUser.getUsername()); releaseLog.setReleaseUserName(loginUser.getUser().getNickName()); releaseLog.setReleaseDeptId(loginUser.getDeptId().toString()); + releaseLog.setPlatform(loginUser.getUser().getUserType()); dcBoardReleaseLogMapper.insertDcBoardReleaseLog(releaseLog); } }catch (Exception e){ @@ -115,9 +116,9 @@ public class DcBoardServiceImpl implements IDcBoardService { AjaxResult ajaxResult = new AjaxResult(); try { - Map param = new HashMap<>(); + HashMap param = new HashMap<>(); param.put("async",false); - ajaxResult = deviceController.invokedFunction(deviceId,"3A",param); + ajaxResult = deviceController.getDeviceRealtimeProperty(deviceId,"3A",param); } catch (Exception e){ e.printStackTrace(); }