wangfeng vor 3 Jahren
Ursprung
Commit
e7c8c82f33
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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 != ''">