From db53916414e35580e8f39bc8f7dd1897f8200eda Mon Sep 17 00:00:00 2001
From: hdw <496960745@qq.com>
Date: 星期二, 20 十一月 2018 10:00:03 +0800
Subject: [PATCH] Merge branch 'dev_lxw' of https://whychdw@gitlab.com/whyclxw1/gx_tieta.git into dev_lxw

---
 gx_tieta/src/com/fgkj/actions/BattInfAction.java |   43 +++++++++++++++++++++++++++++++++++++++----
 1 files changed, 39 insertions(+), 4 deletions(-)

diff --git a/gx_tieta/src/com/fgkj/actions/BattInfAction.java b/gx_tieta/src/com/fgkj/actions/BattInfAction.java
index 77b20d0..105f209 100644
--- a/gx_tieta/src/com/fgkj/actions/BattInfAction.java
+++ b/gx_tieta/src/com/fgkj/actions/BattInfAction.java
@@ -2,6 +2,8 @@
 
 import java.util.List;
 
+import javax.servlet.http.HttpServletResponse;
+
 import com.fgkj.dao.impl.BattInfImpl;
 import com.fgkj.dto.BattInf;
 import com.fgkj.dto.Batt_Maint_Dealarm;
@@ -290,7 +292,23 @@
 		result = ActionUtil.tojson(model);
 		return SUCCESS;
 	}
-	//鏌ヨ绠$悊鐨勬満鎴�(宸︿晶瀵艰埅绗笁灞傦紝鏌ユ墍鏈夌殑鏈烘埧,num涓瓨鏀緐id)
+	//鏌ヨ绠$悊鐨勫幙/鍖�(宸︿晶瀵艰埅绗笁灞傦紝鏌ユ墍鏈夌殑鍘�/鍖�)
+	public String serchStationName5(){
+		User_inf u = (User_inf)getUser();
+		BattInf binf = ActionUtil.getGson().fromJson(json, BattInf.class);
+		binf.setNum(u.getUId());
+		ServiceModel model = service.serchStationName5(binf);
+		result = ActionUtil.tojson(model);
+		return SUCCESS;
+	}
+	//鏌ヨ绠$悊鐨勫幙/鍖�(宸︿晶瀵艰埅绗笁灞傦紝鏌ユ墍鏈夌殑鍘�/鍖�)
+	public String serchStationName5_all(){
+		BattInf binf = ActionUtil.getGson().fromJson(json, BattInf.class);
+		ServiceModel model = service.serchStationName5_all(binf);
+		result = ActionUtil.tojson(model);
+		return SUCCESS;
+	}
+	//鏌ヨ绠$悊鐨勬満鎴�(宸︿晶瀵艰埅绗洓灞傦紝鏌ユ墍鏈夌殑鏈烘埧,num涓瓨鏀緐id)
 	public String serchStationName3(){
 		User_inf u = (User_inf)getUser();
 		BattInf binf = ActionUtil.getGson().fromJson(json, BattInf.class);
@@ -299,14 +317,14 @@
 		result = ActionUtil.tojson(model);
 		return SUCCESS;
 	}
-	//鏌ヨ绠$悊鐨勬満鎴�(宸︿晶瀵艰埅绗笁灞傦紝鏌ユ墍鏈夌殑鏈烘埧)
+	//鏌ヨ绠$悊鐨勬満鎴�(宸︿晶瀵艰埅绗洓灞傦紝鏌ユ墍鏈夌殑鏈烘埧)
 	public String serchStationName3_all(){
 		BattInf binf = ActionUtil.getGson().fromJson(json, BattInf.class);
 		ServiceModel model = service.serchStationName3_all(binf);
 		result = ActionUtil.tojson(model);
 		return SUCCESS;
 	}
-	//鏍规嵁鏈烘埧id鏌ヨ鏈烘埧涓嬬殑鐢垫睜缁勪俊鎭�(宸︿晶瀵艰埅绗洓灞�,鏍规嵁鏈烘埧鏌ヨ涓嬮潰鐨勭數姹犵粍,num涓瓨鏀緐id)
+	//鏍规嵁鏈烘埧id鏌ヨ鏈烘埧涓嬬殑鐢垫睜缁勪俊鎭�(宸︿晶瀵艰埅绗簲灞�,鏍规嵁鏈烘埧鏌ヨ涓嬮潰鐨勭數姹犵粍,num涓瓨鏀緐id)
 	public String serchBattByStation(){
 		BattInf binf = ActionUtil.getGson().fromJson(json, BattInf.class);
 		User_inf u = (User_inf)getUser();
@@ -316,7 +334,7 @@
 		result = ActionUtil.getGson("yyyy-MM-dd HH:mm:ss").toJson(model);
 		return SUCCESS;
 	}
-	//鏍规嵁鏈烘埧id鏌ヨ鏈烘埧涓嬬殑鐢垫睜缁勪俊鎭�(宸︿晶瀵艰埅绗洓灞�,鏍规嵁鏈烘埧鏌ヨ涓嬮潰鐨勭數姹犵粍)
+	//鏍规嵁鏈烘埧id鏌ヨ鏈烘埧涓嬬殑鐢垫睜缁勪俊鎭�(宸︿晶瀵艰埅绗簲灞�,鏍规嵁鏈烘埧鏌ヨ涓嬮潰鐨勭數姹犵粍)
 	public String serchBattByStation_all(){
 		BattInf binf = ActionUtil.getGson().fromJson(json, BattInf.class);
 		//System.out.println(binf);
@@ -351,6 +369,23 @@
 		result = ActionUtil.tojson(model);
 		return SUCCESS;
 	}
+	//棣栭〉涓婃牴鎹畇tationid鏌ヨ鐢垫睜缁勭殑鏈哄巻鍗�
+	public String serchBattAllInfoByStationId(){
+		BattInf binf=getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, BattInf.class);
+		ServiceModel model = service.serchBattAllInfoByStationId(binf);
+		result = ActionUtil.tojson(model);
+		return SUCCESS;
+	}
+	
+	//璺ㄥ煙璁块棶鑾峰彇鎵�鏈夌數姹犵粍鐨勪俊鎭�<-------璺ㄥ煙----------->
+	public String searchInform_ky(){
+		isAllowHeaders();							//鍏佽璺ㄥ煙璁块棶
+		ServiceModel model = new ServiceModel();
+		model = service.searchInform_ky();		
+		result = ActionUtil.tojson(model);
+		return SUCCESS;
+	}
+	
 	public BattInf getBif() {
 		return bif;
 	}

--
Gitblit v1.9.1