完成Bean改造

This commit is contained in:
2019-05-30 21:17:08 +08:00
parent 707ee18ba0
commit 9b5d2ec4e5
39 changed files with 949 additions and 405 deletions
@@ -0,0 +1,19 @@
package net.alawn.bill.repository;
import net.alawn.bill.entity.po.Main;
import net.alawn.bill.entity.po.Post;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* @Author: Alawn
* @Description:
* @Date: Create in 11:14 2019-05-23
*/
@Repository
public interface MainRepo extends JpaRepository<Main, Long> {
List<Main> findByPost(Post post);
}