瀏覽代碼

缺陷详情

zhaops 5 年之前
父節點
當前提交
5e73d2013a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/resources/mapper/BehospitalInfoMapper.xml

+ 2 - 2
src/main/resources/mapper/BehospitalInfoMapper.xml

@@ -801,7 +801,7 @@
             AND d.msg like CONCAT('%', #{filterPageByDeptVO.name},'%')
         </if>
         <if test="filterPageByDeptVO.doctorName != null and filterPageByDeptVO.doctorName != ''">
-            AND a.doctor_name = #{filterPageByDeptVO.name}
+            AND a.doctor_name = #{filterPageByDeptVO.doctorName}
         </if>
         <if test="filterPageByDeptVO.deptName != null and filterPageByDeptVO.deptName != ''">
             AND a.beh_dept_name = #{filterPageByDeptVO.deptName}
@@ -850,7 +850,7 @@
             AND d.msg like CONCAT('%', #{filterPageByDeptVO.name},'%')
         </if>
         <if test="filterPageByDeptVO.doctorName != null and filterPageByDeptVO.doctorName != ''">
-            AND a.doctor_name = #{filterPageByDeptVO.name}
+            AND a.doctor_name = #{filterPageByDeptVO.doctorName}
         </if>
         <if test="filterPageByDeptVO.deptName != null and filterPageByDeptVO.deptName != ''">
             AND a.beh_dept_name = #{filterPageByDeptVO.deptName}