From 094e00316e8f1d114106d4a3111f202ace506bcb Mon Sep 17 00:00:00 2001 From: hdw <496960745@qq.com> Date: 星期四, 11 十月 2018 10:21:40 +0800 Subject: [PATCH] 修改实时和历史监测数据为黑色背景 --- gx_tieta/src/com/fgkj/dao/impl/BattMap_informationImpl.java | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/gx_tieta/src/com/fgkj/dao/impl/BattMap_informationImpl.java b/gx_tieta/src/com/fgkj/dao/impl/BattMap_informationImpl.java index ad27d5a..0a540cc 100644 --- a/gx_tieta/src/com/fgkj/dao/impl/BattMap_informationImpl.java +++ b/gx_tieta/src/com/fgkj/dao/impl/BattMap_informationImpl.java @@ -248,7 +248,14 @@ List list=DAOHelper.executeQuery(sql, DBUtil.getConn(), new Object[]{binformation.getStationId()}, new BattMap_informationImpl()); return list; } - + //鍦板浘涓婃牴鎹満鎴垮悕绉版煡璇㈢粡绾害 + public List serchTudeByStationName(Object obj){ + BattMap_information binformation=(BattMap_information) obj; + String sql="select num, StationId,StationName,address,longitude,latitude,information from web_site.tb_battmap_information " + + " where StationName like ?"; + List list=DAOHelper.executeQuery(sql, DBUtil.getConn(), new Object[]{binformation.getStationName()}, new BattMap_informationImpl()); + return list; + } public static void main(String[] args) { BattMap_informationImpl bimpl=new BattMap_informationImpl(); Batt_Maint_Dealarm bmd=new Batt_Maint_Dealarm(); -- Gitblit v1.9.1