浏览代码

新增液位发送接口,每天23点发送

hfxc226 4 月之前
父节点
当前提交
6b0b114524

+ 3 - 3
platform-service/src/main/java/com/platform/service/remote/impl/RemoteOpcServiceImpl.java

@@ -336,8 +336,8 @@ public class RemoteOpcServiceImpl extends BaseServiceImpl<RemoteOpcMapper, Remot
         List<RemoteOpcVO> list = new ArrayList<>();
         for (RemotePositionVO vo : remotePositionVOList) {
             String jsonStr = RedisUtils.getString(RedisKeyConstants.DCS_PREFIX + vo.getId());
-            log.info("vo.getId(): " + vo.getId());
-            log.info("jsonStr: " + jsonStr);
+            //log.info("vo.getId(): " + vo.getId());
+            //log.info("jsonStr: " + jsonStr);
             if (StringUtils.isNotBlank(jsonStr)) {
                 List<RemoteOpcVO> resultList = JSON.parseArray(jsonStr, RemoteOpcVO.class);
                 for (RemoteOpcVO remoteOpcVO : resultList) {
@@ -367,7 +367,7 @@ public class RemoteOpcServiceImpl extends BaseServiceImpl<RemoteOpcMapper, Remot
                 dataList.add(data);
             }
             String requestJson = JSONObject.toJSONString(dataList);
-            log.info(requestJson);
+            log.info("requestJson: "  + requestJson);
             try {
                 HttpUtil.post(url, requestJson);
             } catch (IOException e) {