From a609618b70a05a459b82d40ef0b520b9864890ec Mon Sep 17 00:00:00 2001 From: lau572 <1010031226@qq.com> Date: Wed, 10 Jan 2024 14:30:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=83=85=E6=8A=A5=E6=9D=BF=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/zc/business/service/impl/DcBoardServiceImpl.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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(); }