81041
2018-11-21 99b241c6da40c9eefe6ecb0479ae2e4a3809034f
gx_tieta/src/com/fgkj/actions/BattInfAction.java
@@ -2,6 +2,8 @@
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.fgkj.dao.impl.BattInfImpl;
import com.fgkj.dto.BattInf;
import com.fgkj.dto.Batt_Maint_Dealarm;
@@ -374,7 +376,23 @@
      result = ActionUtil.tojson(model);
      return SUCCESS;
   }
   //跨域访问获取所有电池组的信息<-------跨域----------->
   public String searchInform_ky(){
      isAllowHeaders();                     //允许跨域访问
      ServiceModel model = new ServiceModel();
      model = service.searchInform_ky();
      result = ActionUtil.tojson(model);
      return SUCCESS;
   }
   //首页上显示已安装数和全部基站数
   public String serchDevice(){
      User_inf uinf=(User_inf) getUser();
      ServiceModel model = service.serchDevice(uinf);
      result = ActionUtil.tojson(model);
      return SUCCESS;
   }
   public BattInf getBif() {
      return bif;
   }