Browse Source

情报板接口修改

develop
lau572 11 months ago
parent
commit
a609618b70
  1. 7
      zc-business/src/main/java/com/zc/business/service/impl/DcBoardServiceImpl.java

7
zc-business/src/main/java/com/zc/business/service/impl/DcBoardServiceImpl.java

@ -59,7 +59,7 @@ public class DcBoardServiceImpl implements IDcBoardService {
try{
//下发文件名
Map<String,Object> param = new HashMap<>();
HashMap<String,Object> 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<String,Object> param = new HashMap<>();
HashMap<String,Object> param = new HashMap<>();
param.put("async",false);
ajaxResult = deviceController.invokedFunction(deviceId,"3A",param);
ajaxResult = deviceController.getDeviceRealtimeProperty(deviceId,"3A",param);
} catch (Exception e){
e.printStackTrace();
}

Loading…
Cancel
Save