From 15aca11333c9c3d92b5bbff364373ab0feb5f6c3 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 25 八月 2026 19:21:31 +0800
Subject: [PATCH] 1.修改一下delete、put请求 2.新增一个万能密码 3.处理一下选项中还把a,b,c,d也带上的情况

---
 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