|
@@ -87,6 +87,7 @@ public class GateWayInfoService extends SuperService {
|
|
|
GateWayInfo gateWayInfo = gateWayInfoDao.findTopByGateWayId(param.getGateWayId());
|
|
GateWayInfo gateWayInfo = gateWayInfoDao.findTopByGateWayId(param.getGateWayId());
|
|
|
if (ObjectUtils.isEmpty(gateWayInfo)) {
|
|
if (ObjectUtils.isEmpty(gateWayInfo)) {
|
|
|
gateWayInfo = new GateWayInfo();
|
|
gateWayInfo = new GateWayInfo();
|
|
|
|
|
+ gateWayInfo.setActivityTime(System.currentTimeMillis());
|
|
|
}
|
|
}
|
|
|
gateWayInfo.setOnLineState(OnLineState.OnLine);
|
|
gateWayInfo.setOnLineState(OnLineState.OnLine);
|
|
|
gateWayInfo.setLastOnlineTime(System.currentTimeMillis());
|
|
gateWayInfo.setLastOnlineTime(System.currentTimeMillis());
|