From 2bf7cdc2df8482b775c05e783e49f3bb7ec58da5 Mon Sep 17 00:00:00 2001 From: ljm <1271952916@qq.com> Date: 星期四, 20 十月 2022 16:04:47 +0800 Subject: [PATCH] 【zlm心跳hook】重复查询redis了 变量也不需要多次定义 数据库有的话应该恢复zlm --- src/main/java/com/genersoft/iot/vmp/gb28181/bean/WvpSipDate.java | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/WvpSipDate.java b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/WvpSipDate.java index 50d1f26..f2a256b 100644 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/WvpSipDate.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/WvpSipDate.java @@ -10,6 +10,11 @@ */ public class WvpSipDate extends SIPDate { + /** + * + */ + private static final long serialVersionUID = 1L; + private Calendar javaCal; public WvpSipDate(long timeMillis) { @@ -129,7 +134,7 @@ var6 = "" + this.second; } - int var8 = this.getJavaCal().get(14); + int var8 = this.javaCal.get(14); String var7; if (var8 < 10) { var7 = "00" + var8; -- Gitblit v1.8.0