From 640d8a0015e132c75bb6e8dda4d44b7202c4a53a Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期二, 15 九月 2026 15:46:26 +0800
Subject: [PATCH] 【丽水】采集处理只有诊断名称没有诊断码的数据
---
smartor/src/main/resources/mapper/smartor/Icd10Mapper.xml | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/Icd10Mapper.xml b/smartor/src/main/resources/mapper/smartor/Icd10Mapper.xml
index 5dd12df..1f0b415 100644
--- a/smartor/src/main/resources/mapper/smartor/Icd10Mapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/Icd10Mapper.xml
@@ -67,6 +67,30 @@
</if>
</select>
+ <select id="exactQueryIcd10List" parameterType="com.smartor.domain.Icd10" resultMap="Icd10Result">
+ <include refid="selectIcd10Vo"/>
+ where 1=1
+ and del_flag = 0
+ <if test="icdcode != null and icdcode != ''">and icdcode = #{icdcode}</if>
+ <if test="lastflag != null and lastflag != ''">and lastflag = #{lastflag}</if>
+ <if test="chimedflag != null and chimedflag != ''">and chimedflag = #{chimedflag}</if>
+ <if test="icdname != null and icdname != ''">and icdname = #{icdname} </if>
+ <if test="icdpym != null and icdpym != ''">and icdpym = #{icdpym}</if>
+ <if test="icdwbm != null and icdwbm != ''">and icdwbm = #{icdwbm}</if>
+ <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if>
+ <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">
<include refid="selectIcd10Vo"/>
where icdid = #{icdid}
--
Gitblit v1.9.3