chenjingjing
2018-12-27 f8f7f5f8da7b2b96a2a0a7536ae2cd4b6abc520a
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);