1.
<property name="sqlSelectPricesForHoldAssetByDate">
<value>
select A.ASSETPRICEID, A.ASSETID, A.SOURCE, A.ASOFDATE, A.CURRENCY, A.BID, A.ASK
from assetprice A INNER JOIN loanfacility lf ON A.assetid = lf.assetid
where lf.loanfacilityid in (select loanfacilityid from ptrsfacility where ptrsid in (select pvtrsid from pvtrs where trsstatus = ''Active'' ))
and A.source in {0}
and A.asofdate = ?
</value>
</property>2.
MessageFormat.format(
this.sqlSelectPricesForHoldAssetByDate,
DAOUtil.toInClause(sources)
);
标签:lf,jdbc,assetid,spring,loanfacilityid,sql,where,select
From: https://blog.51cto.com/u_16174476/6604472