This commit is contained in:
parent
08d8c9640e
commit
c2adeb74c3
1 changed files with 8 additions and 0 deletions
|
|
@ -509,6 +509,8 @@ public class Sdf57Executor extends AbstractExecutor<SDf57> {
|
|||
.companyId(cmp.getId())
|
||||
.accountId(acc.getId())
|
||||
.accountType(AccountType.Anlt)
|
||||
.contract(String.valueOf(sdf57.getDbfId()))
|
||||
.statusProc()
|
||||
.find();
|
||||
dmai.ifPresentOrElse(
|
||||
r -> log.debug("stmt.id={} DMAI.id={} found", stmt.getId(), r.getId()),
|
||||
|
|
@ -834,6 +836,12 @@ public class Sdf57Executor extends AbstractExecutor<SDf57> {
|
|||
return this;
|
||||
}
|
||||
|
||||
private RegistrySearch statusProc() {
|
||||
predicate = pb.and(predicate,
|
||||
pb.equals("registryStatus", RegistryStatus.PROC.getKey()));
|
||||
return this;
|
||||
}
|
||||
|
||||
private RegistrySearch statusNotOk() {
|
||||
predicate = pb.and(predicate, pb.or(
|
||||
pb.equals("registryStatus", RegistryStatus.PROC.getKey()),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue