wangfeng hace 3 años
padre
commit
e7c8c82f33
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/main/resources/mapper/TranLogMapper.xml

+ 1 - 1
src/main/resources/mapper/TranLogMapper.xml

@@ -33,7 +33,7 @@
         <if test="tranLogPageVO.hospitalId != null">
             AND a.hospital_id = #{tranLogPageVO.hospitalId}
         </if>
-        <if test="deptName != null adn deptName !=''">
+        <if test="tranLogPageVO.deptName != null and tranLogPageVO.deptName !=''">
             AND a.dept_name = #{tranLogPageVO.deptName}
         </if>
         <if test="tranLogPageVO.patientId != null and tranLogPageVO.patientId != ''">