|
|
@ -86,7 +86,7 @@ public class MessageServiceImpl implements MessageService { |
|
|
|
message.setSubject(MessageConstants.BusinessClassifyEnum.WARNING.getDescription()); |
|
|
|
message.setSubject(MessageConstants.BusinessClassifyEnum.WARNING.getDescription()); |
|
|
|
message.setTaskId(entity.getId()); |
|
|
|
message.setTaskId(entity.getId()); |
|
|
|
message.setTenantId(stationByCode.getData().getTenantId()); |
|
|
|
message.setTenantId(stationByCode.getData().getTenantId()); |
|
|
|
message.setContent(entity.getAlarmContext()); |
|
|
|
message.setContent(entity.getStationName() + "." +entity.getAlarmContext()); |
|
|
|
message.setDeptId(dept); |
|
|
|
message.setDeptId(dept); |
|
|
|
R<String> deptName = sysClient.getDeptName(dept); |
|
|
|
R<String> deptName = sysClient.getDeptName(dept); |
|
|
|
if (deptName.isSuccess()) { |
|
|
|
if (deptName.isSuccess()) { |
|
|
|