diff --git a/ruoyi-system/src/main/resources/mapper/system/TPatientMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TPatientMapper.xml index b4f0a59..e6533a0 100644 --- a/ruoyi-system/src/main/resources/mapper/system/TPatientMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/TPatientMapper.xml @@ -156,7 +156,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and b.hospital_id = #{hospitalId} - and b.doctor_d = #{doctorId} + and b.doctor_id = #{doctorId} and d.name like concat('%', #{doctorName}, '%')