|
@@ -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());
|