From 99810f5221dc88701fb2efdd700f9a92dccca55c Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期五, 14 八月 2026 15:46:06 +0800
Subject: [PATCH] 【丽水】随访建议

---
 smartor/src/main/resources/mapper/smartor/Icd10Mapper.xml |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/Icd10Mapper.xml b/smartor/src/main/resources/mapper/smartor/Icd10Mapper.xml
index e979d62..5dd12df 100644
--- a/smartor/src/main/resources/mapper/smartor/Icd10Mapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/Icd10Mapper.xml
@@ -57,6 +57,14 @@
             <if test="pid != null ">and pid = #{pid}</if>
             <if test="guid != null  and guid != ''">and guid = #{guid}</if>
             <if test="hisIcdid != null  and hisIcdid != ''">and his_icdid = #{hisIcdid}</if>
+            <if test="icdcodes != null and icdcodes.size() > 0">
+                AND icdcode IN
+                <foreach collection="icdcodes" item="icdcodeItem" open="("
+                         separator=","
+                         close=")">
+                    #{icdcodeItem}
+                </foreach>
+            </if>
     </select>
 
     <select id="selectIcd10ByIcdid" parameterType="Long" resultMap="Icd10Result">

--
Gitblit v1.9.3