liusheng
2025-12-26 2944ea778f0fc87c8e09ae47200d9de8069049e3
ruoyi-project/src/main/resources/mapper/project/ServiceDonatecomporganMapper.xml
@@ -39,7 +39,7 @@
        <result property="createTime" column="create_time"/>
        <result property="updateBy" column="update_by"/>
        <result property="updateTime" column="update_time"/>
        <result property="caseno" column="caseno"/>
        <result property="caseNo" column="case_no"/>
        <result property="donorname" column="donorname"/>
    </resultMap>
@@ -55,7 +55,7 @@
               HospitalNo,
               HospitalName,
               Name,
               caseno,
               case_no,
               Sex,
               IDCardType,
               IDCardNo,
@@ -102,7 +102,7 @@
            </if>
            <if test="name != null  and name != ''">and Name like concat('%', #{name}, '%')</if>
            <if test="sex != null ">and Sex = #{sex}</if>
            <if test="caseno != null ">and caseno = #{caseno}</if>
            <if test="caseNo != null ">and case_no = #{caseNo}</if>
            <if test="idcardtype != null ">and IDCardType = #{idcardtype}</if>
            <if test="idcardno != null  and idcardno != ''">and IDCardNo = #{idcardno}</if>
            <if test="age != null ">and Age = #{age}</if>