diff --git a/ruoyi-system/src/main/resources/mapper/system/TDoctorMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TDoctorMapper.xml index 6086de0..7ecc683 100644 --- a/ruoyi-system/src/main/resources/mapper/system/TDoctorMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/TDoctorMapper.xml @@ -200,7 +200,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" DATE_FORMAT(#{endTime},'%Y-%m-%d %H:%i:%s') - AND name like concat('%', #{name}, '%') + AND td.name like concat('%', #{name}, '%') AND identifier like concat('%', #{identifier}, '%')