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{ try{
//下发文件名 //下发文件名
Map<String,Object> param = new HashMap<>(); HashMap<String,Object> param = new HashMap<>();
param.put("size","65535"); param.put("size","65535");
param.put("fileName","play010.lst"); param.put("fileName","play010.lst");
ajaxResult = deviceController.invokedFunction(deviceId,"11",param); ajaxResult = deviceController.invokedFunction(deviceId,"11",param);
@ -95,6 +95,7 @@ public class DcBoardServiceImpl implements IDcBoardService {
releaseLog.setReleaseUserId(loginUser.getUsername()); releaseLog.setReleaseUserId(loginUser.getUsername());
releaseLog.setReleaseUserName(loginUser.getUser().getNickName()); releaseLog.setReleaseUserName(loginUser.getUser().getNickName());
releaseLog.setReleaseDeptId(loginUser.getDeptId().toString()); releaseLog.setReleaseDeptId(loginUser.getDeptId().toString());
releaseLog.setPlatform(loginUser.getUser().getUserType());
dcBoardReleaseLogMapper.insertDcBoardReleaseLog(releaseLog); dcBoardReleaseLogMapper.insertDcBoardReleaseLog(releaseLog);
} }
}catch (Exception e){ }catch (Exception e){
@ -115,9 +116,9 @@ public class DcBoardServiceImpl implements IDcBoardService {
AjaxResult ajaxResult = new AjaxResult(); AjaxResult ajaxResult = new AjaxResult();
try { try {
Map<String,Object> param = new HashMap<>(); HashMap<String,Object> param = new HashMap<>();
param.put("async",false); param.put("async",false);
ajaxResult = deviceController.invokedFunction(deviceId,"3A",param); ajaxResult = deviceController.getDeviceRealtimeProperty(deviceId,"3A",param);
} catch (Exception e){ } catch (Exception e){
e.printStackTrace(); e.printStackTrace();
} }

Loading…
Cancel
Save