This commit is contained in:
loujf
2022-10-14 12:40:42 +08:00
parent 936f7195f0
commit 10dbfe7190
7 changed files with 99 additions and 69 deletions

View File

@@ -1358,6 +1358,7 @@ public class RljnPackagePalletSplitManipulatorDeviceDriver extends AbstractOpcDe
json.put("one_qty",one_qty);
json.put("two_qty",two_qty);
json.put("tool_coordinate",tool_coordinate);
json.put("material_code",material);
HttpResponse result = acsToWmsService.applyTaskManipulatorToWms(json);
if (ObjectUtil.isNotEmpty(result)) {

View File

@@ -163,7 +163,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
jo.put("device_code", parent_device_code);
jo.putAll(json);
log.info("lnshApplyTaskToWms-----请求参数{}", jo.toString());
log.info("applyIntoKiln-----请求参数{}", jo.toString());
HttpResponse result2 = null;
try {
//{"status":400,"timestamp":"2021-10-22 16:32:22","message":"业务类型不正确!"}
@@ -177,7 +177,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
//网络不通
System.out.println(msg);
}
log.info("lnshApplyTaskToWms-----输出参数{}", result2.body());
log.info("applyIntoKiln-----输出参数{}", result2.body());
return result2;
} finally {
MDC.remove(log_file_type);
@@ -323,7 +323,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
String methods_url = addressDto.getMethods_url();
String url = wmsurl + methods_url;
log.info("getVehicleTokiln----请求参数{}", json.toString());
log.info("inKiln----请求参数{}", json.toString());
HttpResponse result = null;
try {
result = HttpRequest.post(url)
@@ -334,7 +334,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
} catch (Exception e) {
System.out.println(e.getMessage());
}
log.info("getVehicleTokiln----返回参数{}", result.body());
log.info("inKiln----返回参数{}", result.body());
return result;
} finally {