Parcourir la source

定时执行阀控规则:增加检测内容

oppadmin il y a 4 ans
Parent
commit
ba96303f3c

+ 2 - 0
smart-city-platform/src/main/java/com/bz/smart_city/quartz/service/impl/ControlDayServiceImpl.java

@@ -200,7 +200,9 @@ public class ControlDayServiceImpl implements ControlDayService, InitializingBea
                             String url=SyncUrl + "/api/platform/sendCommond";
                             String params = String.format("?customerNo=%s&meterNo=%s&type=%s",customerNo,one.getMetercode(),result.toString());
                             url += params;
+                            log.info("sendCommond:"+url);
                             String postResult = HttpRequest.doPost(url ,"");
+                            log.info("recvSendCommond:"+postResult);
                             SyncValveResult syncValveResult = JacksonUtil.string2Obj(postResult, SyncValveResult.class);
                             if(syncValveResult != null)
                                 getResult = Integer.parseInt(syncValveResult.getStatus());