|
|
@ -326,6 +326,7 @@ public class DefectCheckServiceImpl extends BaseServiceImpl<OperPhenomenonMapper |
|
|
|
message.setSubject(MessageConstants.BusinessClassifyEnum.OPERATIONDEFECTMESSAGE.getDescription()); |
|
|
|
message.setSubject(MessageConstants.BusinessClassifyEnum.OPERATIONDEFECTMESSAGE.getDescription()); |
|
|
|
message.setTaskId(operPhenomenonEntity.getId()); |
|
|
|
message.setTaskId(operPhenomenonEntity.getId()); |
|
|
|
message.setTenantId("200000"); |
|
|
|
message.setTenantId("200000"); |
|
|
|
|
|
|
|
|
|
|
|
message.setTypes(Arrays.asList(MessageConstants.APP_PUSH, MessageConstants.WS_PUSH)); |
|
|
|
message.setTypes(Arrays.asList(MessageConstants.APP_PUSH, MessageConstants.WS_PUSH)); |
|
|
|
message.setPushType(MessageConstants.IMMEDIATELY); |
|
|
|
message.setPushType(MessageConstants.IMMEDIATELY); |
|
|
|
String countent = |
|
|
|
String countent = |
|
|
@ -351,6 +352,7 @@ public class DefectCheckServiceImpl extends BaseServiceImpl<OperPhenomenonMapper |
|
|
|
message.setPusherName(user.getName()); |
|
|
|
message.setPusherName(user.getName()); |
|
|
|
} |
|
|
|
} |
|
|
|
message.setAccount(userId); |
|
|
|
message.setAccount(userId); |
|
|
|
|
|
|
|
message.setCreateDept(Long.valueOf(user.getDeptId())); |
|
|
|
message.setCreateUser(NumberUtils.toLong(userId)); |
|
|
|
message.setCreateUser(NumberUtils.toLong(userId)); |
|
|
|
messageClient.sendMessage(message); |
|
|
|
messageClient.sendMessage(message); |
|
|
|
} |
|
|
|
} |
|
|
|