Commit 49cb6343 authored by 顾俭's avatar 顾俭

条码失败状态显示

parent 13ad109e
...@@ -70,10 +70,7 @@ public class BarcodeGetStatusClient extends WebServiceClient { ...@@ -70,10 +70,7 @@ public class BarcodeGetStatusClient extends WebServiceClient {
if (response.getExecution().getStatus().getCode().equalsIgnoreCase("0")) { if (response.getExecution().getStatus().getCode().equalsIgnoreCase("0")) {
return SyncResponse.of(SUCCESS_CODE, safeString(response.getExecution().getStatus().getDescription())); return SyncResponse.of(SUCCESS_CODE, safeString(response.getExecution().getStatus().getDescription()));
} else { } else {
String errorDetails = String.format("失败码:%s, 原因:%s,SQL:%s", String errorDetails = safeString(response.getExecution().getStatus().getDescription());
safeString(response.getExecution().getStatus().getCode()),
safeString(response.getExecution().getStatus().getDescription()),
safeString(response.getExecution().getStatus().getSqlcode()));
return SyncResponse.of(FAIL_CODE, errorDetails); return SyncResponse.of(FAIL_CODE, errorDetails);
} }
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment