diff --git a/src/main/java/com/four/doctor/controller/HistoricalDoctorController.java b/src/main/java/com/four/doctor/controller/HistoricalDoctorController.java index f440d58..c3226d0 100644 --- a/src/main/java/com/four/doctor/controller/HistoricalDoctorController.java +++ b/src/main/java/com/four/doctor/controller/HistoricalDoctorController.java @@ -24,12 +24,12 @@ public class HistoricalDoctorController { private HttpServletRequest request; /** - * + *医生查询自己的历史问诊 * @param registrationInformationId * @return */ @PostMapping("/ShowHistoricalDoctor") - public Result> ShowHistoricalDoctor(Integer registrationInformationId){ + public Result> ShowHistoricalDoctor(Long registrationInformationId){ log.info("功能名称:医生查询历史问诊,请求URI:{},请求方法:{},请求参数:{}",request.getRequestURI(), request.getMethod(), JSONObject.toJSONString(registrationInformationId)); List list= historicalDoctorService.ShowHistoricalDoctor(registrationInformationId); diff --git a/src/main/java/com/four/doctor/mapper/HistoricalDoctorMapper.java b/src/main/java/com/four/doctor/mapper/HistoricalDoctorMapper.java index b4ac1bd..8e715ff 100644 --- a/src/main/java/com/four/doctor/mapper/HistoricalDoctorMapper.java +++ b/src/main/java/com/four/doctor/mapper/HistoricalDoctorMapper.java @@ -9,6 +9,6 @@ import java.util.List; @Mapper public interface HistoricalDoctorMapper { - List ShowHistoricalDoctor(@Param("registrationInformationId") Integer registrationInformationId); + List ShowHistoricalDoctor(@Param("registrationInformationId") Long registrationInformationId); } diff --git a/src/main/java/com/four/doctor/service/HistoricalDoctorService.java b/src/main/java/com/four/doctor/service/HistoricalDoctorService.java index fec8089..849a619 100644 --- a/src/main/java/com/four/doctor/service/HistoricalDoctorService.java +++ b/src/main/java/com/four/doctor/service/HistoricalDoctorService.java @@ -5,5 +5,5 @@ import com.four.common.duck.interrogation.HistoricalConsultation; import java.util.List; public interface HistoricalDoctorService { - List ShowHistoricalDoctor(Integer registrationInformationId); + List ShowHistoricalDoctor(Long registrationInformationId); } diff --git a/src/main/java/com/four/doctor/service/Impl/HistoricalDoctorServiceImpl.java b/src/main/java/com/four/doctor/service/Impl/HistoricalDoctorServiceImpl.java index d12897b..81d1f7f 100644 --- a/src/main/java/com/four/doctor/service/Impl/HistoricalDoctorServiceImpl.java +++ b/src/main/java/com/four/doctor/service/Impl/HistoricalDoctorServiceImpl.java @@ -15,7 +15,7 @@ public class HistoricalDoctorServiceImpl implements HistoricalDoctorService { private HistoricalDoctorMapper historicalDoctorMapper; @Override - public List ShowHistoricalDoctor(Integer registrationInformationId) { + public List ShowHistoricalDoctor(Long registrationInformationId) { List historicalConsultationList=historicalDoctorMapper.ShowHistoricalDoctor(registrationInformationId); return historicalConsultationList; }