fix regex
This commit is contained in:
parent
2245e1313c
commit
94c2373dc9
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ public class PrimaryAuctionBnSession extends AbstractSession implements Initiali
|
||||||
public void afterPropertiesSet() throws Exception {
|
public void afterPropertiesSet() throws Exception {
|
||||||
dealsPrepare.searchForExecutions(ExecutionType.ExecutionFond);
|
dealsPrepare.searchForExecutions(ExecutionType.ExecutionFond);
|
||||||
ImdgPredicateBuilder execFondPb = executionFondImdg.predicateBuilder();
|
ImdgPredicateBuilder execFondPb = executionFondImdg.predicateBuilder();
|
||||||
dealsPrepare.addExecutionFondCondition(execFondPb.regex("settlementCode", "^B[^0]\\d*$"));
|
dealsPrepare.addExecutionFondCondition(execFondPb.regex("settlementCode", "^B\\d{2}$"));
|
||||||
dealsPrepare.addExecutionFondCondition(execFondPb.in("market", marketCodes.toArray(new String[0])));
|
dealsPrepare.addExecutionFondCondition(execFondPb.in("market", marketCodes.toArray(new String[0])));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue