|
@@ -166,6 +166,7 @@ public class WebSocketConteoller extends BaseController {
|
|
lwMsgAppPush.eq(MsgAppPush::getAlarmId, msgAlarm.getAlarmId());
|
|
lwMsgAppPush.eq(MsgAppPush::getAlarmId, msgAlarm.getAlarmId());
|
|
}
|
|
}
|
|
List<MsgAppPush> msgAppPushList = msgAppPushService.list(lwMsgAppPush);
|
|
List<MsgAppPush> msgAppPushList = msgAppPushService.list(lwMsgAppPush);
|
|
|
|
+ log.info("APPmsgAppPushList size -----" + msgAppPushList.size());
|
|
if (StringUtils.isEmpty(msgAppPushList) || msgAppPushList.size() == 0) {
|
|
if (StringUtils.isEmpty(msgAppPushList) || msgAppPushList.size() == 0) {
|
|
List<String> alias = new ArrayList<>();
|
|
List<String> alias = new ArrayList<>();
|
|
if (!StringUtils.isEmpty(userIdList) || userIdList.size() > 0) {
|
|
if (!StringUtils.isEmpty(userIdList) || userIdList.size() > 0) {
|
|
@@ -174,6 +175,7 @@ public class WebSocketConteoller extends BaseController {
|
|
List<String> listString = distinct(alias);
|
|
List<String> listString = distinct(alias);
|
|
if (!StringUtils.isEmpty(listString) || listString.size() > 0) {
|
|
if (!StringUtils.isEmpty(listString) || listString.size() > 0) {
|
|
for (String userid : listString) {
|
|
for (String userid : listString) {
|
|
|
|
+ log.info("APP userid -----" + userid);
|
|
String pushId = UUID.randomUUID().toString();
|
|
String pushId = UUID.randomUUID().toString();
|
|
msgAlarmResp.setPushId(UUID.randomUUID().toString());
|
|
msgAlarmResp.setPushId(UUID.randomUUID().toString());
|
|
String content = objStr(msgAlarmResp);
|
|
String content = objStr(msgAlarmResp);
|