From 2fe250ece8de95b3f70172fe5b45793ab6a3084a Mon Sep 17 00:00:00 2001 From: D:/workspace/chenjingjing/git/gx_tieta/gx_tieta/.gitignore <chenjingjing@LAPTOP-E51P2139> Date: 星期五, 18 一月 2019 17:30:50 +0800 Subject: [PATCH] 未审批可更改 --- gx_tieta/src/com/fgkj/actions/BattMap_informationAction.java | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/gx_tieta/src/com/fgkj/actions/BattMap_informationAction.java b/gx_tieta/src/com/fgkj/actions/BattMap_informationAction.java index 7ea5587..72a5197 100644 --- a/gx_tieta/src/com/fgkj/actions/BattMap_informationAction.java +++ b/gx_tieta/src/com/fgkj/actions/BattMap_informationAction.java @@ -29,6 +29,18 @@ result = tojson(model); return SUCCESS; } + //9.1褰曞叆鏈烘埧淇℃伅(鎵嬫満绔�) + public String replace(){ + BattMap_information binfo = getGson().fromJson(json, BattMap_information.class); + ServiceModel model = service.replace(binfo); + { + String msg="璁剧疆"+binfo.getStationName()+"鍦�"+binfo.getAddress(); + User_log ulog=UinfDaoFactory.CreateULog(UinfDaoFactory.Increase, msg); + uservice.add(ulog);//灏嗙敤鎴风殑鎿嶄綔璁板綍涓嬫潵 + } + result = tojson(model); + return SUCCESS; + } public String update(){ BattMap_information binfo = getGson().fromJson(json, BattMap_information.class); ServiceModel model = service.update(binfo); -- Gitblit v1.9.1