liusheng
9 天以前 d88fffd5d757a23f302011ced88dea92e1ce31e9
ruoyi-project/src/main/resources/mapper/project/ServiceEthicalreviewinitiateMapper.xml
@@ -83,6 +83,7 @@
        SELECT
        sd.treatmenthospitalname as treatmenthospitalname,
        sd.treatmenthospitalno as treatmenthospitalno,
        sd.DonationCategory as donationcategory,
        sd.DonorNo as donorno,
        sd.case_no as caseNo,
        sd.Name as name,
@@ -102,8 +103,10 @@
        FROM
        service_donatebaseinfo sd
        LEFT JOIN service_ethicalreviewinitiate se ON sd.ID = se.InfoID and sd.del_flag = 0
        AND se.del_flag = 0
        AND se.del_flag = 0 and se.ID is not null
        <where>
            sd.termination_case = 0
            <if test="infoid != null ">and se.InfoID = #{infoid}</if>
            <if test="caseNo != null  and caseNo != ''">and sd.case_no = #{caseNo}</if>
            <if test="expertConclusion != null ">and se.expert_conclusion = #{expertConclusion}</if>