PHRService.java 735 B

12345678910111213141516171819202122232425262728
  1. package com.lemon.lifecenter.service;
  2. import java.util.List;
  3. import org.springframework.beans.factory.annotation.Autowired;
  4. import org.springframework.stereotype.Service;
  5. import com.lemon.lifecenter.dto.PatientPHRHistoryDTO;
  6. import com.lemon.lifecenter.mapper.PatientPHRHistoryMapper;
  7. @Service
  8. public class PHRService {
  9. @Autowired
  10. private PatientPHRHistoryMapper mapper;
  11. public void insertPHR(PatientPHRHistoryDTO dto) {
  12. mapper.insertPHRHistory(dto);
  13. }
  14. public int selectPHRHistoryCount(PatientPHRHistoryDTO dto) {
  15. return mapper.selectPHRHistoryCount(dto);
  16. }
  17. public List<PatientPHRHistoryDTO> selectPHRHistoryList(PatientPHRHistoryDTO dto) {
  18. return mapper.selectPHRHistoryList(dto);
  19. }
  20. }