Jelajahi Sumber

修复查询不到中药工伤匹配的问题

lighter 1 tahun lalu
induk
melakukan
8e869b5daa

+ 1 - 1
src/main/java/thyyxxk/webserver/dao/his/dictionary/NationalMatchDao.java

@@ -134,7 +134,7 @@ public interface NationalMatchDao {
     @Select("select aaz231 as injuryUniqueId,ake001 as nationalCode,ake002 as nationalName, " +
             "ake003 as catalogueType,bke215 as fundType,aae030 as start_time, aae031 as end_time, " +
             "matchedCount=(select count(1) from yp_zd_dict t where t.aaz231=a.aaz231) " +
-            "from t_industrial_injury_catalogue a where a.ake003='13' and a.ake002 like #{name} ")
+            "from t_industrial_injury_catalogue a where a.ake003 in ('12','13') and a.ake002 like #{name} ")
     List<SiCentralHerbal> selectInjuryHerbals(String name);
 
     @Select("select code as nationalCode,service_name as nationalName,isnull(connotation,'') as projectConnotation, " +