陈昶聿
5 天以前 efaa2a7a5b7d9d1a36f4d6a7e275d2b76f6cd9d3
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">