From ad22ba26863980edd80a1f9adfebb8daba31d74d Mon Sep 17 00:00:00 2001 From: LiJun <LiJun@192.168.10.12> Date: 星期五, 26 十月 2018 11:50:23 +0800 Subject: [PATCH] 添加机房的是否安装的标识 --- gx_tieta/src/com/fgkj/actions/BattInfAction.java | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/gx_tieta/src/com/fgkj/actions/BattInfAction.java b/gx_tieta/src/com/fgkj/actions/BattInfAction.java index af20d32..77b20d0 100644 --- a/gx_tieta/src/com/fgkj/actions/BattInfAction.java +++ b/gx_tieta/src/com/fgkj/actions/BattInfAction.java @@ -71,6 +71,13 @@ result = tojson(model); return SUCCESS; } + //鏍规嵁缁存姢鍖哄拰鏈烘埧鍚嶇О鏌ヨ鐢垫睜缁勪俊鎭� + public String searchInform1() { + Batt_Maint_Dealarm bmd = getGson().fromJson(json, Batt_Maint_Dealarm.class); + ServiceModel model = service.searchInform1(bmd); + result = tojson(model); + return SUCCESS; + } public String serchByCondition() { model = service.serchByCondition(bif); result = ActionUtil.tojson(model); @@ -329,6 +336,8 @@ //鐢垫睜閰嶇粍绠$悊(閲嶈) public String serchMakeGroup(){ BattInf binf=getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, BattInf.class); + User_inf uinf=(User_inf) getUser(); + binf.setNum(uinf.getUId()); ServiceModel model = service.serchMakeGroup(binf); result = ActionUtil.tojson(model); return SUCCESS; @@ -336,6 +345,8 @@ //鐢垫睜閰嶇粍绠$悊(閲嶈) public String serchGroupByInfor(){ BattInf binf=getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, BattInf.class); + User_inf uinf=(User_inf) getUser(); + binf.setNum(uinf.getUId()); ServiceModel model = service.serchGroupByInfor(binf); result = ActionUtil.tojson(model); return SUCCESS; -- Gitblit v1.9.1