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

条码失败状态显示

parent 13ad109e
......@@ -70,10 +70,7 @@ public class BarcodeGetStatusClient extends WebServiceClient {
if (response.getExecution().getStatus().getCode().equalsIgnoreCase("0")) {
return SyncResponse.of(SUCCESS_CODE, safeString(response.getExecution().getStatus().getDescription()));
} else {
String errorDetails = String.format("失败码:%s, 原因:%s,SQL:%s",
safeString(response.getExecution().getStatus().getCode()),
safeString(response.getExecution().getStatus().getDescription()),
safeString(response.getExecution().getStatus().getSqlcode()));
String errorDetails = safeString(response.getExecution().getStatus().getDescription());
return SyncResponse.of(FAIL_CODE, errorDetails);
}
} 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