81041
2018-12-20 324f6331d0b684417809549de51fa877e503f2d5
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);