From cea36d9bcd04524f2e31fe4c35beabcbf5459ca7 Mon Sep 17 00:00:00 2001 From: CJJ <Administrator@192.168.10.11> Date: 星期一, 26 十一月 2018 15:25:52 +0800 Subject: [PATCH] 手机 机房历史事件查询(未包括详情及详情按钮) --- gx_tieta/src/com/fgkj/actions/BatttestdataAction.java | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java b/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java index ab48698..8064b68 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; @@ -33,6 +33,19 @@ //System.out.println("*************************"); return SUCCESS; } + + /** + * 鍘嗗彶鏁版嵁鏌ヨ <!------------- 璺ㄥ煙璁块棶 --------------------> + * @return + */ + public String findhistory_ky(){ + isAllowHeaders(); + ServiceModel model = new ServiceModel(); + btd = ActionUtil.getGson().fromJson(json, Batttestdata.class); + model = service.serchByCondition_ky(btd); + result = ActionUtil.tojson(model); + return SUCCESS; + } public void setBtd(Batttestdata btd) { -- Gitblit v1.9.1