registry-service RegistryLoader SQL bug-fix
This commit is contained in:
parent
1df96b7ef6
commit
51db366432
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ public class RegistryLoader extends IDBLoader<Registry> {
|
|||
protected String sqlQuery() {
|
||||
RegistryCodeSqlBuilder registryCodeSqlBuilder = RegistryCodeSqlBuilder.getInstance(RegistryTradingParams.OM_T, RegistryTradingParams.OS_T);
|
||||
return ("select * from REGISTRY where SETTLEMENT_DATE >= :startDate and SETTLEMENT_DATE < :endDate " +
|
||||
"and %s and REGISTRY_STATUS='%s'") // and TRADING_CLEARING_REGISTRY is not null
|
||||
"and (%s) and REGISTRY_STATUS='%s'") // and TRADING_CLEARING_REGISTRY is not null
|
||||
.formatted(registryCodeSqlBuilder.buildSql(), RegistryStatus.CLRD.getKey());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue