From f8f7f5f8da7b2b96a2a0a7536ae2cd4b6abc520a Mon Sep 17 00:00:00 2001
From: chenjingjing <chenjingjing@192.168.10.3>
Date: 星期四, 27 十二月 2018 14:20:44 +0800
Subject: [PATCH] 页面新版修改

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

diff --git a/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java b/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java
index f0ae854..ac4e031 100644
--- a/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java
+++ b/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java
@@ -6,7 +6,7 @@
 import com.fgkj.services.Batttestdata_infService;
 import com.opensymphony.xwork2.ActionSupport;
 
-public class BatttestdataAction extends ActionSupport {
+public class BatttestdataAction extends ActionUtil{
 	private BatttestdataService service = new BatttestdataService();
 	private String result;
 	private Batttestdata btd;
@@ -39,12 +39,11 @@
 	 * @return
 	 */
 	public String findhistory_ky(){
-		ActionUtil.isAllowHeaders();
-		Batttestdata btd = ActionUtil.getGson().fromJson(json, Batttestdata.class);
-		//System.out.println(btd);
-		ServiceModel model = service.serchByCondition_ky(btd);
+		//isAllowHeaders();
+		ServiceModel model = new ServiceModel();
+		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