Compare commits
2 Commits
cc23f082a6
...
740a638444
| Author | SHA1 | Date | |
|---|---|---|---|
| 740a638444 | |||
| a3d44a157a |
@ -633,7 +633,7 @@ public class DeviceXinghanBizService {
|
|||||||
if (!"ins_SOSGrade".equals(payloadKey) || value == 0) {
|
if (!"ins_SOSGrade".equals(payloadKey) || value == 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
AlarmTypeEnum type = value == 1 ? AlarmTypeEnum.SOS : AlarmTypeEnum.SHAKE;
|
AlarmTypeEnum type = AlarmTypeEnum.SOS;
|
||||||
String redisKey = buildAlarmRedisKey(deviceImei, type);
|
String redisKey = buildAlarmRedisKey(deviceImei, type);
|
||||||
Long alarmId = RedisUtils.getCacheObject(redisKey);
|
Long alarmId = RedisUtils.getCacheObject(redisKey);
|
||||||
// 已存在未结束报警 -> 什么都不做(同一条报警)
|
// 已存在未结束报警 -> 什么都不做(同一条报警)
|
||||||
|
|||||||
Reference in New Issue
Block a user