| | |
| | | }
|
| | | return model;
|
| | | }
|
| | | //根据维护区和机房名称查询电池组信息(电池组信息配置)<-------跨域----------->
|
| | | public ServiceModel searchInform_ky() {
|
| | | List<BattInf> list=((BattInfImpl)dao).searchInform_ky();
|
| | | if (list != null && list.size() > 0) {
|
| | | model.setCode(1);
|
| | | model.setData(list);
|
| | | model.setMsg("查询成功!");
|
| | | }
|
| | | else{
|
| | | model.setCode(0);
|
| | | model.setMsg("查询失败!");
|
| | | }
|
| | | return model;
|
| | | }
|
| | | //根据维护区和机房名称查询电池组信息
|
| | | public ServiceModel searchInform1(Object obj) {
|
| | | List<BattInf> list=((BattInfImpl)dao).searchInform1(obj);
|
| | |
| | | return model;
|
| | | }
|
| | |
|
| | | //首页上根据stationid查询电池组的机历卡
|
| | | public ServiceModel serchBattAllInfoByStationId(Object obj){
|
| | | List list=((BattInfImpl)dao).serchBattAllInfoByStationId(obj);
|
| | | if (list != null && list.size() > 0) {
|
| | | model.setCode(1);
|
| | | model.setData(list);
|
| | | model.setMsg("查询成功!");
|
| | | }else{
|
| | | model.setCode(0);
|
| | | model.setMsg("查询失败!");
|
| | | }
|
| | | return model;
|
| | | }
|
| | | public static void main(String[] args) {
|
| | | //new BattInfServices().findMenu();
|
| | | BattInf b=new BattInf();
|