clearing-service http://jira.mfd.msk:8088/browse/CLS-307 SPLT default direction
This commit is contained in:
parent
f720d2a945
commit
6237f534f2
1 changed files with 4 additions and 0 deletions
|
|
@ -315,6 +315,10 @@ public class RegistryService {
|
||||||
Imdg<Registry> registryTMap = txCtx.getImdg(IMDGDistributedNames.Map_Registry, Registry.class);
|
Imdg<Registry> registryTMap = txCtx.getImdg(IMDGDistributedNames.Map_Registry, Registry.class);
|
||||||
Instant now = Instant.now();
|
Instant now = Instant.now();
|
||||||
InOutDirection direction = IEnumKey.getEnumByKey(InOutDirection.class, requestPayload.getDirection());
|
InOutDirection direction = IEnumKey.getEnumByKey(InOutDirection.class, requestPayload.getDirection());
|
||||||
|
if (direction == null) {
|
||||||
|
direction = InOutDirection.out;
|
||||||
|
log.debug("Direction not set. Use default: {}", direction);
|
||||||
|
}
|
||||||
// 1. Первая группа
|
// 1. Первая группа
|
||||||
Registry firstRegistry = baseRegistry.clone();
|
Registry firstRegistry = baseRegistry.clone();
|
||||||
firstRegistry.setId(null);
|
firstRegistry.setId(null);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue