From d639a3e830a3351de4839ae17ae7f146613b6afd Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期二, 11 八月 2026 13:43:51 +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