sinake
6 小时以前 a6d5f3ad6ca49a334eff47b3b42d5caf6235b558
ruoyi-project/src/main/resources/mapper/project/ServiceDonationwitnessorganMapper.xml
@@ -7,6 +7,7 @@
    <resultMap type="com.ruoyi.project.domain.ServiceDonationwitnessorgan" id="ServiceDonationwitnessorganResult">
        <result property="id" column="ID"/>
        <result property="infoid" column="InfoID"/>
        <result property="donationwitnessId" column="donationwitness_id"/>
        <result property="donorno" column="DonorNo"/>
        <result property="organno" column="OrganNo"/>
        <result property="organname" column="OrganName"/>
@@ -35,6 +36,7 @@
    <sql id="selectServiceDonationwitnessorganVo">
        select ID,
               InfoID,
               donationwitness_id,
               DonorNo,
               organ_start_time,
               OrganNo,
@@ -58,7 +60,9 @@
               update_by,
               caseno,
               name,
               update_time
               update_time,
               file_name,
               ext_content
        from service_donationwitnessorgan
    </sql>
@@ -67,6 +71,7 @@
            resultMap="ServiceDonationwitnessorganResult">
        <include refid="selectServiceDonationwitnessorganVo"/>
        <where>
            and del_flag=0
            <if test="infoid != null ">and InfoID = #{infoid}</if>
            <if test="donorno != null  and donorno != ''">and DonorNo = #{donorno}</if>
            <if test="organno != null  and organno != ''">and OrganNo = #{organno}</if>