hdw
2018-12-24 cf262a95d0d79d477dda82c3fd17a22f0582a355
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);