Browse Source

jcjy mzflag!=1

lighter 7 months ago
parent
commit
b32b8d7afc
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/java/thyyxxk/webserver/dao/his/search/SearchDao.java

+ 2 - 1
src/main/java/thyyxxk/webserver/dao/his/search/SearchDao.java

@@ -34,7 +34,8 @@ public interface SearchDao {
 
     @Select("SELECT RTRIM(code) as code,rtrim(name) as name," +
             "gender_restriction,min_age_restriction,max_age_restriction " +
-            "from ${table} where isnull(del_flag,0)!=1 and ${method} like #{content}")
+            "from ${table} where isnull(del_flag,0)!=1 and isnull(mz_flag,0)!=1 " +
+            "and ${method} like #{content}")
     IPage<CodeName> searchJcJyItem(IPage<CodeName> iPage, String method, String content, String table);
 
     @Select("select code,name,charge_amount as price from zd_charge_item " +