|
|
@ -103,7 +103,7 @@ public class DcBoardServiceImpl implements IDcBoardService { |
|
|
|
//发布记录
|
|
|
|
LoginUser loginUser = SecurityUtils.getLoginUser(); |
|
|
|
|
|
|
|
for (Map<String, Object> content : contentList) { |
|
|
|
/*for (Map<String, Object> content : contentList) { |
|
|
|
DcBoardReleaseLog releaseLog = new DcBoardReleaseLog(); |
|
|
|
releaseLog.setDeviceId(deviceId); |
|
|
|
releaseLog.setDeviceName(dcDevice.getDeviceName()); |
|
|
@ -115,7 +115,18 @@ public class DcBoardServiceImpl implements IDcBoardService { |
|
|
|
releaseLog.setReleaseDeptId(loginUser.getDeptId().toString()); |
|
|
|
releaseLog.setPlatform(loginUser.getUser().getUserType()); |
|
|
|
dcBoardReleaseLogMapper.insertDcBoardReleaseLog(releaseLog); |
|
|
|
} |
|
|
|
}*/ |
|
|
|
DcBoardReleaseLog releaseLog = new DcBoardReleaseLog(); |
|
|
|
releaseLog.setDeviceId(deviceId); |
|
|
|
releaseLog.setDeviceName(dcDevice.getDeviceName()); |
|
|
|
releaseLog.setReleaseContent(JSON.toJSONString(contentList)); |
|
|
|
releaseLog.setReleaseIp(loginUser.getIpaddr()); |
|
|
|
releaseLog.setReleaseStatus(status); |
|
|
|
releaseLog.setReleaseUserId(loginUser.getUsername()); |
|
|
|
releaseLog.setReleaseUserName(loginUser.getUser().getNickName()); |
|
|
|
releaseLog.setReleaseDeptId(loginUser.getDeptId().toString()); |
|
|
|
releaseLog.setPlatform(loginUser.getUser().getUserType()); |
|
|
|
dcBoardReleaseLogMapper.insertDcBoardReleaseLog(releaseLog); |
|
|
|
} |
|
|
|
|
|
|
|
return ajaxResult; |
|
|
|