swt-exporter DF11Exporter result OK убрал возможный !
This commit is contained in:
parent
7e0eda6fe3
commit
82e2b08df1
1 changed files with 5 additions and 1 deletions
|
|
@ -57,7 +57,11 @@ public class DF11Exporter extends AbstractExporterService<SDf11> {
|
||||||
stringBuilder.append(record.getQuantity()).append(':');
|
stringBuilder.append(record.getQuantity()).append(':');
|
||||||
stringBuilder.append(record.getSecurityCode()).append(':');
|
stringBuilder.append(record.getSecurityCode()).append(':');
|
||||||
stringBuilder.append(record.getClientName()).append(':');
|
stringBuilder.append(record.getClientName()).append(':');
|
||||||
stringBuilder.append(record.getResult()).append(SWTHeaderData.LINE_SEPARATOR);
|
String result = record.getResult();
|
||||||
|
if (result != null && result.endsWith("!")) { // OK! => OK
|
||||||
|
result = result.substring(0, result.length() - 1);
|
||||||
|
}
|
||||||
|
stringBuilder.append(result).append(SWTHeaderData.LINE_SEPARATOR);
|
||||||
return stringBuilder.toString();
|
return stringBuilder.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue