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/BatttestdataAction.java | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java b/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java index f0ae854..8010397 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,10 +39,9 @@ * @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(); + model = service.serchByCondition_ky(btd); result = ActionUtil.tojson(model); //System.out.println("*************************"); return SUCCESS; -- Gitblit v1.9.1