This commit is contained in:
parent
345feb19b8
commit
a849d5d026
1 changed files with 2 additions and 1 deletions
|
|
@ -447,7 +447,8 @@ public class TradingClearingRegistryService extends QueueConsumer implements Ini
|
|||
code = "%4s".formatted(code).replace(' ', '0');
|
||||
// code += registryPurpose.getKey(); // C / M / ...
|
||||
code += "C";//пока ставим всегда С, возможно придется откатить
|
||||
String trType = tradingRegistryType + accountServiceSettings.getApp().getRegistryUnit(); // 2 символа
|
||||
String registryUnit = accountServiceSettings.getApp() != null ? accountServiceSettings.getApp().getRegistryUnit() : "T";
|
||||
String trType = tradingRegistryType + registryUnit; // 2 символа
|
||||
code += trType;
|
||||
String sId = "%5s".formatted(id).replace(' ', '0');
|
||||
if (sId.length() > 5)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue