TaMedicalLogServiceImpl.java 1.1KB

123456789101112131415161718192021222324252627282930313233343536
  1. package com.yunzhi.demo.service.impl;
  2. import com.baomidou.mybatisplus.core.metadata.IPage;
  3. import com.yunzhi.demo.entity.TaMedicalLog;
  4. import com.yunzhi.demo.entity.TaPerson;
  5. import com.yunzhi.demo.mapper.TaMedicalLogMapper;
  6. import com.yunzhi.demo.mapper.TaPersonMapper;
  7. import com.yunzhi.demo.service.ITaMedicalLogService;
  8. import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
  9. import org.springframework.beans.factory.annotation.Autowired;
  10. import org.springframework.stereotype.Service;
  11. /**
  12. * <p>
  13. * 就诊记录 服务实现类
  14. * </p>
  15. *
  16. * @author yansen
  17. * @since 2021-04-15
  18. */
  19. @Service
  20. public class TaMedicalLogServiceImpl extends ServiceImpl<TaMedicalLogMapper, TaMedicalLog> implements ITaMedicalLogService {
  21. @Autowired
  22. TaMedicalLogMapper taMedicalLogMapper;
  23. @Override
  24. public IPage<TaMedicalLog> getMedicalLogPagedBy(IPage<TaMedicalLog> pg, String schoolId, String specialtyId, String studentNo) {
  25. return taMedicalLogMapper.getMedicalLogPagedBy(pg, schoolId, specialtyId, studentNo);
  26. }
  27. @Override
  28. public TaMedicalLog getProfileBy(Integer id) {
  29. return taMedicalLogMapper.getMedicalLogDetail(id);
  30. }
  31. }