From 6ca12d78daab3ad1dec7f5bd6e1f26b6b5fd2f11 Mon Sep 17 00:00:00 2001
From: 81041 <81041@DESKTOP-025NVD9>
Date: 星期三, 26 十二月 2018 14:34:42 +0800
Subject: [PATCH] 批量设置放电参数的查询机房

---
 gx_tieta/src/com/fgkj/actions/BattInfAction.java |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/gx_tieta/src/com/fgkj/actions/BattInfAction.java b/gx_tieta/src/com/fgkj/actions/BattInfAction.java
index 833b60f..7279fa7 100644
--- a/gx_tieta/src/com/fgkj/actions/BattInfAction.java
+++ b/gx_tieta/src/com/fgkj/actions/BattInfAction.java
@@ -101,7 +101,12 @@
 		return SUCCESS;
     }
     
-    
+    //娣诲姞鎿嶄綔鏃舵煡璇㈠嚭鐢垫睜缁刬d
+    public String searchMaxBattgroupId(){
+    	model = service.searchMaxBattgroupId();
+		result = ActionUtil.tojson(model);
+		return SUCCESS;
+    }
 	public String searchAll() {
 		model = service.searchAll();
 		result = ActionUtil.tojson(model);
@@ -391,7 +396,13 @@
 		result = ActionUtil.tojson(model);
 		return SUCCESS;
 	}
-	
+	//鎵归噺璁剧疆鏀剧數鍙傛暟鏃讹紝鏍规嵁鐪佸競鍖猴紝鐢垫睜鍗曚綋鍨嬪彿锛堜紡鏁帮級锛岀粍鏁扮瓫閫夊嚭鐢垫睜缁�
+	public String serchByDischarge(){
+		BattInf binf=getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, BattInf.class);
+		ServiceModel model = service.serchByDischarge(binf);
+		result = ActionUtil.tojson(model);
+		return SUCCESS;
+	}
 	//璺ㄥ煙璁块棶鑾峰彇鎵�鏈夌數姹犵粍鐨勪俊鎭�<-------璺ㄥ煙----------->
 	public String searchInform_ky(){
 		//isAllowHeaders();							//鍏佽璺ㄥ煙璁块棶

--
Gitblit v1.9.1