no message
This commit is contained in:
@@ -1,12 +1,31 @@
|
|||||||
package com.example.demo.service.Impl;
|
package com.example.demo.service.Impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
|
import com.example.demo.repository.Borrow_BooksRepository;
|
||||||
import com.example.demo.service.ApprovalBorrowBooks;
|
import com.example.demo.service.ApprovalBorrowBooks;
|
||||||
|
|
||||||
@Service
|
@Service
|
||||||
@Transactional
|
@Transactional
|
||||||
public class ApprovalBorrowBooksImpl implements ApprovalBorrowBooks{
|
public class ApprovalBorrowBooksImpl implements ApprovalBorrowBooks {
|
||||||
|
|
||||||
}
|
Borrow_BooksRepository borrowbooksRepository;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
public ApprovalBorrowBooksImpl(Borrow_BooksRepository borrowbooksRepository) {
|
||||||
|
this.borrowbooksRepository = borrowbooksRepository;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 申請情報から全件取得
|
||||||
|
* @return 取得した情報すべて
|
||||||
|
*/
|
||||||
|
public List<???> selectAll() {
|
||||||
|
return ???Entity.create???List(???Repository.findAll());
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user