From bbb530588536b5094611f93de5bed290b0530f4c Mon Sep 17 00:00:00 2001 From: 81041 <81041@192.168.10.25> Date: 星期二, 13 十一月 2018 10:12:29 +0800 Subject: [PATCH] //首页上根据stationid查询电池组的机历卡 --- gx_tieta/src/com/fgkj/services/BattInfServices.java | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/gx_tieta/src/com/fgkj/services/BattInfServices.java b/gx_tieta/src/com/fgkj/services/BattInfServices.java index 077c682..017e484 100644 --- a/gx_tieta/src/com/fgkj/services/BattInfServices.java +++ b/gx_tieta/src/com/fgkj/services/BattInfServices.java @@ -942,6 +942,19 @@ return model; } + //棣栭〉涓婃牴鎹畇tationid鏌ヨ鐢垫睜缁勭殑鏈哄巻鍗� + 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(); -- Gitblit v1.9.1