Przeglądaj źródła

增加日志打印

xiewenjie 3 lat temu
rodzic
commit
7fe8d0736b

+ 2 - 2
sxz-base/src/main/java/com/fdkk/sxz/util/readFloorplan.java

@@ -191,7 +191,7 @@ public class readFloorplan {
             if (ObjectUtil.isNotNull(startParent) && !startParent.isEmpty()) {
                 startParent.put(wallId, "start");
             } else {
-                readFloorplan.log.info("watch-startParent{},json={}", ObjectUtil.isNull(startParent), startParent.toJSONString());
+                readFloorplan.log.info("watch-startParent.isNull={},json={}", ObjectUtil.isNull(startParent), start.toJSONString());
                 startParent = new JSONObject();
                 startParent.put(wallId, "start");
             }
@@ -201,7 +201,7 @@ public class readFloorplan {
             if (ObjectUtil.isNotNull(endParent) && !endParent.isEmpty()) {
                 endParent.put(wallId, "end");
             } else {
-                readFloorplan.log.info("watch-endParent{},json={}", ObjectUtil.isNull(endParent), endParent.toJSONString());
+                readFloorplan.log.info("watch-endParent.isNull={},json={}", ObjectUtil.isNull(endParent), end.toJSONString());
                 endParent = new JSONObject();
                 endParent.put(wallId, "end");
             }