From bb65f33c9fdff40844f17e95e3e75aed2b42bda2 Mon Sep 17 00:00:00 2001
From: hdw <496960745@qq.com>
Date: 星期四, 25 十月 2018 14:47:33 +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