81041
2019-01-10 68d43a25f5a9e6a6f6d52d5b8e8f0a5671b9c3fc
gx_tieta/src/com/fgkj/actions/BattInfAction.java
@@ -396,7 +396,13 @@
      result = ActionUtil.tojson(model);
      return SUCCESS;
   }
   //批量设置放电参数时,根据省市区,电池单体型号(伏数),组数筛选出电池组
   public String serchByDischarge(){
      BattInf binf=getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, BattInf.class);
      ServiceModel model = service.serchByDischarge(binf);
      result = ActionUtil.tojson(model);
      return SUCCESS;
   }
   //跨域访问获取所有电池组的信息<-------跨域----------->
   public String searchInform_ky(){
      //isAllowHeaders();                     //允许跨域访问
@@ -426,6 +432,13 @@
      result = ActionUtil.tojson(model);
      return SUCCESS;
   }
    //判断新增的机房是否存在
   public String judgeBatt(){
      BattInf binf=getGson().fromJson(json, BattInf.class);
      ServiceModel model = service.judgeBatt(binf);
      result = ActionUtil.tojson(model);
      return SUCCESS;
   }
   public BattInf getBif() {
      return bif;
   }