From a2585f6c42d24e9b133c221ce6f6b4d1a2f75748 Mon Sep 17 00:00:00 2001
From: hdw <hdw@192.168.7.127>
Date: 星期四, 10 一月 2019 15:13:34 +0800
Subject: [PATCH] 修改批量系统参数设置名称和权限

---
 gx_tieta/src/com/fgkj/actions/BatttestdataAction.java |   13 +++----------
 1 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java b/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java
index e50ffd1..ac4e031 100644
--- a/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java
+++ b/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java
@@ -39,18 +39,11 @@
 	 * @return
 	 */
 	public String findhistory_ky(){
-		isAllowHeaders();
+		//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