zjh
2023-10-31 47aed74050e956919f2eee588fbab15607cf4029
ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/TjAdviceMapper.java
@@ -73,4 +73,13 @@
            "</foreach>",
            "</script>" })
    public String getAdviceStringByIds(@Param("aList") List<String> aList);
    @Select({"<script>", "select * from tj_advice a where a.id in",
            "<foreach collection='aList' item='id' open='(' separator=',' close=')'>",
            "#{id}",
            "</foreach>",
            "</script>" })
    List<TjAdvice> getAdviceStringByIds(@Param("aList") String[] aList);
}