Example #1
0
  /**
   * 查询某一群下得干货
   *
   * @param keywords
   * @param pageable
   * @return
   */
  public MahoutOfType findoneByindex(String index) {

    MahoutOfType m = mahoutOfTypeRepository.findOneByIndex(index);
    return m;
  }
Example #2
0
  /**
   * 查询某一群下得干货
   *
   * @param keywords
   * @param pageable
   * @return
   */
  public long count() {

    long m = mahoutOfTypeRepository.count();
    return m;
  }
Example #3
0
  /**
   * 查询某一群下得干货
   *
   * @param keywords
   * @param pageable
   * @return
   */
  public void delete() {

    mahoutOfTypeRepository.deleteAll();
  }
Example #4
0
  /**
   * 查询某一群下得干货
   *
   * @param keywords
   * @param pageable
   * @return
   */
  public MahoutOfType findone(String id) {

    MahoutOfType m = mahoutOfTypeRepository.findOneBySourceid(id);
    return m;
  }
Example #5
0
  /**
   * 查询某一群下得干货
   *
   * @param keywords
   * @param pageable
   * @return
   */
  public void save(MahoutOfType m) {

    mahoutOfTypeRepository.save(m);
  }