心跳只有正常故障

This commit is contained in:
zz 2021-11-19 15:07:03 +08:00
parent c4fd6072f0
commit c923d06869

View File

@ -34,7 +34,6 @@ public class HBLogic implements ServiceLogic {
Long gunStatusInt = Long.parseLong(gunStatus);
String gunkey = "gun:".concat(pileNo).concat(gunId);
Map<String, Object> cacheGun = REDIS.getCacheMap(gunkey);
cacheGun.put("status", stable[gunStatusInt.intValue()]);
cacheGun.put("statusInt", gunStatusInt);
cacheGun.put("hbtime", Calendar.getInstance().getTimeInMillis());
REDIS.setCacheMap(gunkey, cacheGun);