Browse Source

修复bug

lighter 2 years ago
parent
commit
a45e0cd21d

+ 1 - 1
src/main/java/thyyxxk/webserver/dao/his/casefrontsheet/SheetSearchDao.java

@@ -18,7 +18,7 @@ public interface SheetSearchDao {
 
     @Select("select top 10 rtrim(code) as code, rtrim(name) as name from " +
             "(SELECT ROW_NUMBER() OVER(ORDER BY code) AS 'Number',* from " +
-            "zd_icd_code_new with(nolock) where ${method} and del_flag=0 like #{content} ) a " +
+            "zd_icd_code_new with(nolock) where ${method} like #{content} and del_flag=0 ) a " +
             "where a.[Number]>10*(#{page}-1) order by weight desc")
     List<CodeName> searchClinicdiag(@Param("method") String method, @Param("content") String content, @Param("page") int page);