/** * 查询某一群下得干货 * * @param keywords * @param pageable * @return */ public MahoutOfType findoneByindex(String index) { MahoutOfType m = mahoutOfTypeRepository.findOneByIndex(index); return m; }
/** * 查询某一群下得干货 * * @param keywords * @param pageable * @return */ public long count() { long m = mahoutOfTypeRepository.count(); return m; }
/** * 查询某一群下得干货 * * @param keywords * @param pageable * @return */ public void delete() { mahoutOfTypeRepository.deleteAll(); }
/** * 查询某一群下得干货 * * @param keywords * @param pageable * @return */ public MahoutOfType findone(String id) { MahoutOfType m = mahoutOfTypeRepository.findOneBySourceid(id); return m; }
/** * 查询某一群下得干货 * * @param keywords * @param pageable * @return */ public void save(MahoutOfType m) { mahoutOfTypeRepository.save(m); }