From 3d175b70811d8da4258aa0ec6cc6d79ff912b36f Mon Sep 17 00:00:00 2001 From: hdw <496960745@qq.com> Date: 星期四, 25 十月 2018 17:02:03 +0800 Subject: [PATCH] 提交内容 --- gx_tieta/src/com/fgkj/actions/BattInfAction.java | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/gx_tieta/src/com/fgkj/actions/BattInfAction.java b/gx_tieta/src/com/fgkj/actions/BattInfAction.java index c0290e7..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,10 +336,21 @@ //鐢垫睜閰嶇粍绠$悊(閲嶈) 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; } + //鐢垫睜閰嶇粍绠$悊(閲嶈) + 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; + } public BattInf getBif() { return bif; } -- Gitblit v1.9.1