From e22fd0bac62d20d94e58409ea15049c67f6ff1eb Mon Sep 17 00:00:00 2001 From: 81041 <81041@192.168.10.26> Date: 星期四, 13 十二月 2018 10:33:35 +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