陈昶聿
3 天以前 8f3649533c9a4062cf00f583dfef96dcb7837514
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">