From 9876e29a3ae6fb3d70096f582d0260a59760f9f1 Mon Sep 17 00:00:00 2001 From: hdw <hdw@192.168.1.4> Date: 星期一, 24 十二月 2018 14:14:17 +0800 Subject: [PATCH] 添加问题类型 --- gx_tieta/src/com/fgkj/services/BattMap_informationService.java | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/gx_tieta/src/com/fgkj/services/BattMap_informationService.java b/gx_tieta/src/com/fgkj/services/BattMap_informationService.java index b091ab9..c08c94a 100644 --- a/gx_tieta/src/com/fgkj/services/BattMap_informationService.java +++ b/gx_tieta/src/com/fgkj/services/BattMap_informationService.java @@ -43,6 +43,18 @@ } return model; } + //9.1褰曞叆鏈烘埧淇℃伅(鎵嬫満绔�) + public ServiceModel replace(Object obj){ + Boolean bl=((BattMap_informationImpl)dao).replace(obj); + if(bl){ + model.setCode(1); + model.setMsg("娣诲姞鎴愬姛!"); + }else{ + model.setCode(0); + model.setMsg("娣诲姞澶辫触!"); + } + return model; + } public ServiceModel update(Object obj){ Boolean bl=dao.update(obj); if(bl){ -- Gitblit v1.9.1