医生查看自己的历史问诊
parent
da0afec0ae
commit
569a31f201
|
@ -24,12 +24,12 @@ public class HistoricalDoctorController {
|
||||||
private HttpServletRequest request;
|
private HttpServletRequest request;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*医生查询自己的历史问诊
|
||||||
* @param registrationInformationId
|
* @param registrationInformationId
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@PostMapping("/ShowHistoricalDoctor")
|
@PostMapping("/ShowHistoricalDoctor")
|
||||||
public Result<List<HistoricalConsultation>> ShowHistoricalDoctor(Integer registrationInformationId){
|
public Result<List<HistoricalConsultation>> ShowHistoricalDoctor(Long registrationInformationId){
|
||||||
log.info("功能名称:医生查询历史问诊,请求URI:{},请求方法:{},请求参数:{}",request.getRequestURI(),
|
log.info("功能名称:医生查询历史问诊,请求URI:{},请求方法:{},请求参数:{}",request.getRequestURI(),
|
||||||
request.getMethod(), JSONObject.toJSONString(registrationInformationId));
|
request.getMethod(), JSONObject.toJSONString(registrationInformationId));
|
||||||
List<HistoricalConsultation> list= historicalDoctorService.ShowHistoricalDoctor(registrationInformationId);
|
List<HistoricalConsultation> list= historicalDoctorService.ShowHistoricalDoctor(registrationInformationId);
|
||||||
|
|
|
@ -9,6 +9,6 @@ import java.util.List;
|
||||||
@Mapper
|
@Mapper
|
||||||
public interface HistoricalDoctorMapper {
|
public interface HistoricalDoctorMapper {
|
||||||
|
|
||||||
List<HistoricalConsultation> ShowHistoricalDoctor(@Param("registrationInformationId") Integer registrationInformationId);
|
List<HistoricalConsultation> ShowHistoricalDoctor(@Param("registrationInformationId") Long registrationInformationId);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,5 +5,5 @@ import com.four.common.duck.interrogation.HistoricalConsultation;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public interface HistoricalDoctorService {
|
public interface HistoricalDoctorService {
|
||||||
List<HistoricalConsultation> ShowHistoricalDoctor(Integer registrationInformationId);
|
List<HistoricalConsultation> ShowHistoricalDoctor(Long registrationInformationId);
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ public class HistoricalDoctorServiceImpl implements HistoricalDoctorService {
|
||||||
private HistoricalDoctorMapper historicalDoctorMapper;
|
private HistoricalDoctorMapper historicalDoctorMapper;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<HistoricalConsultation> ShowHistoricalDoctor(Integer registrationInformationId) {
|
public List<HistoricalConsultation> ShowHistoricalDoctor(Long registrationInformationId) {
|
||||||
List<HistoricalConsultation> historicalConsultationList=historicalDoctorMapper.ShowHistoricalDoctor(registrationInformationId);
|
List<HistoricalConsultation> historicalConsultationList=historicalDoctorMapper.ShowHistoricalDoctor(registrationInformationId);
|
||||||
return historicalConsultationList;
|
return historicalConsultationList;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue