/** 获取所有的防治信息 */
  public List<BaseHealthModel> getCompanyBaseHealthModels(
      FkUserModel user, BaseHealthModel baseHealthModel) throws ServicesException {
    String jpql = "select o from baseHealthModel o where 1=1 and o.deleted=false ";

    if (!AppUtils.isNullOrEmptyString(user.getFirstArea()) && !"0".equals(user.getFirstArea()))
      jpql += " and o.companyInfo.firstArea like " + user.getFirstArea();
    if (!AppUtils.isNullOrEmptyString(user.getSecondArea()) && !"0".equals(user.getSecondArea()))
      jpql += " and o.companyInfo.secondArea like " + user.getSecondArea();
    if (!AppUtils.isNullOrEmptyString(user.getThirdArea()) && !"0".equals(user.getThirdArea()))
      jpql += " and o.companyInfo.thirdArea like " + user.getThirdArea();
    if (!AppUtils.isNullOrEmptyString(user.getFourthArea()) && !"0".equals(user.getFourthArea()))
      jpql += " and o.companyInfo.fourthArea like " + user.getFourthArea();
    if (!AppUtils.isNullOrEmptyString(user.getFifthArea()) && !"0".equals(user.getFifthArea()))
      jpql += " and o.companyInfo.fifthArea like " + user.getFifthArea();

    if (baseHealthModel.getCompanyInfo() != null
        && baseHealthModel.getCompanyInfo().getCompanyName() != "") {
      jpql +=
          " and o.companyInfo.companyName like '%"
              + baseHealthModel.getCompanyInfo().getCompanyName()
              + "%'";
    }

    return this.getCollection(jpql, baseHealthModel);
  }
 /**
  * 修改导航
  *
  * @throws ActionException
  */
 public String modify() throws Exception {
   if (AppUtils.isNullOrEmptyString(this.getId())) {
     throw new ActionException("将要修改的对象编号不可为空!");
   }
   jxUnitModel = jxUnitService.findById(this.getId());
   this.setParameters(page_forward_showupdate_jxUnit);
   return SUCCESS;
 }
 /**
  * 显示详情
  *
  * @throws ActionException
  */
 public String detail() throws Exception {
   if (AppUtils.isNullOrEmptyString(this.getId())) {
     throw new ActionException("将要查看的对象编号不可为空!");
   }
   jxInInventoryModel = jxInInventoryService.findById(this.getId());
   this.setParameters(page_forward_showdetail_jxInInventory);
   return SUCCESS;
 }
 /**
  * 删除数据
  *
  * @throws ActionException
  */
 public String remove() throws Exception {
   OperateResult or = null;
   if (AppUtils.isNullOrEmptyString(this.getSelectedIds())) {
     throw new ActionException("将要删除的对象编号不可为空!");
   }
   or = jxUnitService.remove(this.getSelectedIds());
   this.setParameters(or.getMessage(), action_forward_managers_jxUnit);
   return SUCCESS;
 }