Administrator
2018-12-20 4845b337be059e93621d353b5c2e57ac480a8e33
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);