liusheng
昨天 8e3a02c1facca35c5a90ce9b49505f373ae658f5
ruoyi-project/src/main/resources/mapper/project/ServiceDonationwitnessorganMapper.xml
@@ -29,12 +29,16 @@
        <result property="updateTime" column="update_time"/>
        <result property="name" column="name"/>
        <result property="caseno" column="caseno"/>
        <result property="sort" column="sort"/>
        <result property="organStartTime" column="organ_start_time"/>
    </resultMap>
    <sql id="selectServiceDonationwitnessorganVo">
        select ID,
               InfoID,
               sort,
               DonorNo,
               organ_start_time,
               OrganNo,
               OrganName,
               OrganNumber,
@@ -66,6 +70,7 @@
        <include refid="selectServiceDonationwitnessorganVo"/>
        <where>
            <if test="infoid != null ">and InfoID = #{infoid}</if>
            <if test="sort != null ">and sort = #{sort}</if>
            <if test="donorno != null  and donorno != ''">and DonorNo = #{donorno}</if>
            <if test="organno != null  and organno != ''">and OrganNo = #{organno}</if>
            <if test="organname != null  and organname != ''">and OrganName like concat('%', #{organname}, '%')</if>
@@ -86,7 +91,8 @@
            </if>
            <if test="ispnf != null  and ispnf != ''">and IsPNF = #{ispnf}</if>
            <if test="isdgf != null  and isdgf != ''">and IsDGF = #{isdgf}</if>
            <if test="organStartTime != null">and organ_start_time = #{organStartTime}</if>
        </where>
    </select>
</mapper>
</mapper>