securities-service .
This commit is contained in:
parent
f13fba18fd
commit
4aa53c223b
1 changed files with 2 additions and 0 deletions
|
|
@ -171,6 +171,7 @@ public class MoneyMarketSecurityService extends QueueConsumer implements Initial
|
|||
.setMessage(errorMsg);
|
||||
}
|
||||
MoneyMarketSecurity mms = validator.getStored(Stored.PresentById);
|
||||
if (mms == null) log.error("Validator return null stored mms object.");
|
||||
Instant updateTime = Instant.now();
|
||||
mms.setUpdated(updateTime);
|
||||
mms.setStartDate(req.getStartDate());
|
||||
|
|
@ -222,6 +223,7 @@ public class MoneyMarketSecurityService extends QueueConsumer implements Initial
|
|||
}
|
||||
Instant updateTime = Instant.now();
|
||||
MoneyMarketSecurity mms = validator.getStored(Stored.PresentById);
|
||||
if (mms == null) log.error("Validator return null stored mms object.");
|
||||
mms.setWorkflowStatus(ru.spcex.platform.enumeration.Status.Blocked.getKey());
|
||||
mms.setUpdated(updateTime);
|
||||
moneyMarketSecurityMap.update(mms);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue