newMaster
chenbingxuan 2024-01-21 19:08:03 +08:00
parent 10a4a491ac
commit 9ed8c924ee
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ public interface DoctorConvert {
DoctorEntity doctorVoToDoctorEntity(DoctorVo doctorVo); DoctorEntity doctorVoToDoctorEntity(DoctorVo doctorVo);
@Mappings({ @Mappings({
@Mapping(source = "id", target = "doctorId") @Mapping(source = "id", target = "id")
}) })
DoctorVo doctorEntityToDoctorVo(DoctorEntity doctorEntity); DoctorVo doctorEntityToDoctorVo(DoctorEntity doctorEntity);
List<DoctorVo> doctorEntityListToDoctorVoList(List<DoctorEntity> doctorEntityList); List<DoctorVo> doctorEntityListToDoctorVoList(List<DoctorEntity> doctorEntityList);