/** {@inheritDoc} */
  public boolean insert(final List<TigMaJids> tigMaJidsList) {
    boolean resultFlag = false;
    if (null != tigMaJidsList && tigMaJidsList.size() > 0) {
      for (TigMaJids tigMaJids : tigMaJidsList) {
        resultFlag = tigMaJidsDao.insert(tigMaJids);
        if (!resultFlag) {
          throw new RuntimeException("批量新增表信息异常");
        }
      }
    }

    return resultFlag;
  }
  /** {@inheritDoc} */
  public List<TigMaJids> queryTigMaJidsListWithPage(TigMaJidsQuery queryBean, PageUtil pageUtil) {
    if (null == queryBean) {
      queryBean = new TigMaJidsQuery();
    }

    // 查询总数
    int totalItem = queryTigMaJidsCount(queryBean);

    if (pageUtil == null) {
      pageUtil = new PageUtil();
    }
    pageUtil.setTotalRow(totalItem);
    pageUtil.init();

    if (totalItem > 0) {
      queryBean.setPageIndex(pageUtil.getCurPage());
      queryBean.setPageSize(pageUtil.getPageSize());
      // 调用Dao翻页方法
      return tigMaJidsDao.queryTigMaJidsListWithPage(queryBean);
    }
    return null;
  }
 /** {@inheritDoc} */
 public TigMaJids getTigMaJidsById(Long id) {
   return tigMaJidsDao.getTigMaJidsById(id);
 }
 /** {@inheritDoc} */
 public boolean delete(TigMaJids tigMaJids) {
   return tigMaJidsDao.delete(tigMaJids);
 }
 /** {@inheritDoc} */
 public int queryTigMaJidsCount(TigMaJidsQuery queryBean) {
   return tigMaJidsDao.queryTigMaJidsCount(queryBean);
 }
 /** {@inheritDoc} */
 public List<TigMaJids> queryTigMaJidsList(TigMaJidsQuery queryBean) {
   return tigMaJidsDao.queryTigMaJidsList(queryBean);
 }
 /** {@inheritDoc} */
 public boolean update(final TigMaJids tigMaJids) {
   return tigMaJidsDao.update(tigMaJids);
 }
 /** {@inheritDoc} */
 public boolean insert(TigMaJids tigMaJids) {
   return tigMaJidsDao.insert(tigMaJids);
 }
 /** {@inheritDoc} */
 public boolean exist(TigMaJids tigMaJids) {
   return tigMaJidsDao.exist(tigMaJids);
 }