|
@@ -17,7 +17,7 @@ public class VendorBinxiangRepository {
|
|
|
|
|
|
|
|
public List<VendorBinxiang> query() {
|
|
public List<VendorBinxiang> query() {
|
|
|
return jdbcTemplate.query(
|
|
return jdbcTemplate.query(
|
|
|
- "select * from v_get_ref_temperature ",new RowMapper<VendorBinxiang>(){
|
|
|
|
|
|
|
+ "select * from jyk1.v_get_ref_temperature where TO_CHAR(采集时间,'YYYY-MM-DD')=TO_CHAR(SYSDATE,'YYYY-MM-DD')",new RowMapper<VendorBinxiang>(){
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
public VendorBinxiang mapRow(ResultSet rs, int rowNum) throws SQLException {
|
|
public VendorBinxiang mapRow(ResultSet rs, int rowNum) throws SQLException {
|