Ver código fonte

解决一个 bug

xiaochan 3 anos atrás
pai
commit
a4935ff70d

+ 1 - 1
src/main/java/thyyxxk/webserver/dao/his/querydata/QueryDrugsAndProjectsDao.java

@@ -230,7 +230,7 @@ public interface QueryDrugsAndProjectsDao {
             "<if test=\"start !=null and start != '' \">" +
             " and a.admiss_date &gt;= #{start} and a.admiss_date &lt;= #{end} " +
             "</if>" +
-            "<if test=\"responces.size > 0\" >" +
+            "<if test=\"responces != null and responces.size > 0 \" >" +
             "and a.responce_type in " +
             "<foreach collection='responces' item='item' index='index' open='(' close=')' separator=','>" +
             "#{item}" +