From 9769cff3310322065483cffc9fd29096d0256fa4 Mon Sep 17 00:00:00 2001 From: CJJ <Administrator@USER-20180117QL> Date: 星期三, 19 十二月 2018 17:27:42 +0800 Subject: [PATCH] 修改提交新建初始值,验证ID是否重复,重复重建。 --- gx_tieta/src/com/fgkj/actions/BatttestdataAction.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java b/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java index 8010397..ac4e031 100644 --- a/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java +++ b/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java @@ -39,11 +39,11 @@ * @return */ public String findhistory_ky(){ - isAllowHeaders(); + //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