소스 검색

Merge branch 'demo_' of http://123.60.19.203:8088/3254194295/hitch-sb-manage into demo_

guarantee-lsq 2 일 전
부모
커밋
4029cb8ad2
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      platform-rest/src/main/java/com/platform/rest/task/DegreeTask.java

+ 3 - 3
platform-rest/src/main/java/com/platform/rest/task/DegreeTask.java

@@ -132,7 +132,8 @@ public class DegreeTask {
         List<RemoteOpcVO> list = new ArrayList<>();
         for (RemotePositionVO vo : remotePositionVOList) {
             String jsonStr = RedisUtils.get(RedisKeyConstants.DCS_PREFIX + 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) {
@@ -151,8 +152,7 @@ public class DegreeTask {
             if (StringUtil.isEmpty(url)) {
                 throw new BusinessException("请配置采购系统液位接收地址");
             }
+            setDegreeValue(url, list);
         }
     }
-
-
 }