From 95f949c12ef74613dcb6b5262f5ed3386e1bf616 Mon Sep 17 00:00:00 2001 From: whyclj <1525436766@qq.com> Date: 星期六, 05 一月 2019 09:06:21 +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