Facebook
From jm, 8 Months ago, written in Plain Text.
This paste is a reply to Re: sampleserviceimpl from jm - view diff
Embed
Download Paste or View Raw
Hits: 85
  1. package com.meteor.bob.repository;
  2.  
  3. import org.springframework.data.jpa.repository.JpaRepository;
  4.  
  5. import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
  6. import org.springframework.stereotype.Repository;
  7.  
  8. import com.meteor.bob.model.Sample;
  9.  
  10. @Repository
  11. public interface SampleRepository extends JpaRepository<Sample, String>, JpaSpecificationExecutor<Sample> {
  12.         public Long countByCdAndDel(String cd, Integer del);
  13. }
  14.