From ece08fd739c0a004b4bee932f37c81b81a7acaeb Mon Sep 17 00:00:00 2001 From: 81041 <81041@192.168.10.21> Date: 星期二, 20 十一月 2018 10:05:56 +0800 Subject: [PATCH] 实时机房停电 --- gx_tieta/src/com/fgkj/actions/BatttestdataAction.java | 9 +-------- 1 files changed, 1 insertions(+), 8 deletions(-) diff --git a/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java b/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java index e50ffd1..8010397 100644 --- a/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java +++ b/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java @@ -41,14 +41,7 @@ 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("璇嗗埆鐮侀敊璇�"); - } + model = service.serchByCondition_ky(btd); result = ActionUtil.tojson(model); //System.out.println("*************************"); return SUCCESS; -- Gitblit v1.9.1