liusheng
2024-03-05 0c5e744bd9b52147c7fc273ec8fe7bd7afea0ebb
ruoyi-project/src/main/resources/mapper/project/ServiceDonatecomporganMapper.xml
@@ -39,6 +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"/>
    </resultMap>
    <sql id="selectServiceDonatecomporganVo">
@@ -53,6 +54,7 @@
               TransplantHospitalNo,
               TransplantHospitalName,
               Name,
               caseno,
               Sex,
               IDCardType,
               IDCardNo,
@@ -98,6 +100,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="idcardtype != null ">and IDCardType = #{idcardtype}</if>
            <if test="idcardno != null  and idcardno != ''">and IDCardNo = #{idcardno}</if>
            <if test="age != null ">and Age = #{age}</if>