From a4e99a6a39284643fdf2b04dbe55212e5954973c Mon Sep 17 00:00:00 2001
From: leutu <leutu@qq.com>
Date: 星期一, 20 五月 2024 17:37:25 +0800
Subject: [PATCH] firsh

---
 src/main/java/com/skyline/electricity/timer/Consumer.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/main/java/com/skyline/electricity/timer/Consumer.java b/src/main/java/com/skyline/electricity/timer/Consumer.java
index 7028f6a..d6e13ba 100644
--- a/src/main/java/com/skyline/electricity/timer/Consumer.java
+++ b/src/main/java/com/skyline/electricity/timer/Consumer.java
@@ -41,7 +41,7 @@
     InformationService informationService ;
     @Override
     public void onMessage(String message) {
-        System.out.println("recv msg:  "+message);
+        //System.out.println("recv msg:  "+message);
         sendAllMessage(message);
     }
 
@@ -64,13 +64,13 @@
      */
 
     public void sendAllMessage(String message) {
-        System.out.println("銆恮ebsocket娑堟伅銆戝箍鎾秷鎭�:"+message);
+        //System.out.println("銆恮ebsocket娑堟伅銆戝箍鎾秷鎭�:"+message);
 
         JSONObject jsonObject = JSONObject.parseObject(message);
         String personNo = jsonObject.getString("personNo");
 
         SysUser sysUser = infoSynchService.selectUserInfoById(personNo) ;
-        System.out.println("銆恥ser]:"+JSONObject.toJSONString(sysUser));
+        //System.out.println("銆恥ser]:"+JSONObject.toJSONString(sysUser));
         List<RetInfo> list = new ArrayList<>();
         //鏌ヨ鐢ㄦ埛鎵�澶勫洿鏍�
         List<FencePosition> fencePositionList = null ;
@@ -79,7 +79,7 @@
         }catch (Exception e){
             System.out.println(e.getMessage());
         }
-        System.out.println("銆怓encePosition]:"+JSONObject.toJSONString(fencePositionList));
+        //System.out.println("銆怓encePosition]:"+JSONObject.toJSONString(fencePositionList));
         RetInfo alertinfo = new RetInfo();
         initAlertInfos(jsonObject, personNo, sysUser, alertinfo);
         if( fencePositionList != null && fencePositionList.size() > 0){
@@ -101,7 +101,7 @@
             list.add(alertinfo) ;
         }
         insertInformation(list);
-        System.out.println( "list:"+jsonObject.toJSONString(list));
+       // System.out.println( "list:"+jsonObject.toJSONString(list));
 //        if( list != null && list.size() > 0)
 //            System.out.println( "websocket status ..["+webSocketController.sendAllMessage(JSONObject.toJSONString(list))+"["+JSONObject.toJSONString(list)+"]" );
     }

--
Gitblit v1.9.3