From 2a3b2044d03811f0b5672a632fe9d3efe9f13871 Mon Sep 17 00:00:00 2001
From: hdw <496960745@qq.com>
Date: 星期五, 23 十一月 2018 14:52:05 +0800
Subject: [PATCH] 电池信息配置添加新的电池组操作设置修复bug

---
 gx_tieta/src/com/fgkj/actions/BatttestdataAction.java |   11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java b/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java
index e50ffd1..8064b68 100644
--- a/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java
+++ b/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java
@@ -41,16 +41,9 @@
 	public String findhistory_ky(){
 		isAllowHeaders();
 		ServiceModel model = new ServiceModel();
-		if(key !=null && CROSS_DOMAIN_KEY.equals(key)){			
-			Batttestdata btd = ActionUtil.getGson().fromJson(json, Batttestdata.class);
-			//System.out.println(btd);
-			model = service.serchByCondition_ky(btd);
-		}else{
-			model.setCode(0);
-			model.setMsg("璇嗗埆鐮侀敊璇�");
-		}
+		btd = ActionUtil.getGson().fromJson(json, Batttestdata.class);
+		model = service.serchByCondition_ky(btd);
 		result = ActionUtil.tojson(model);
-		//System.out.println("*************************");
 		return SUCCESS;
 	}
 

--
Gitblit v1.9.1