sinake
5 天以前 24a2f363743d8a2e4aa038635ef1d8b60a8e7131
ruoyi-project/src/main/resources/mapper/project/ServiceDonatecompletioninfoMapper.xml
@@ -183,6 +183,7 @@
        sd.treatmenthospitalno AS treatmenthospitalno,
        sd.DonorNo AS donorno,
        sd.case_no AS caseNo,
        sd.extracontent AS extracontent,
        sd.DonationCategory as donationcategory,
        sd.NAME AS name,
        sd.RecordState AS recordstate,
@@ -216,7 +217,7 @@
            <if test="name != null  and name != ''">and sd.Name like concat('%', #{name}, '%')</if>
            <if test="inpatientno != null  and inpatientno != ''">and sd.inpatientno = #{inpatientno}</if>
            <if test="donorno != null  and donorno != ''">and sdc.DonorNo = #{donorno}</if>
            <if test="infoid != null">and sdc.InfoID = #{infoid}</if>
            <if test="infoid != null">and sd.id = #{infoid}</if>
        </where>
        <if test="pageNum != null and pageSize != null">limit #{pageNum},#{pageSize}</if>
    </select>