yxh
9 天以前 4ce61befa59e589985ced69e72bc5f7faf9a313e
ruoyi-project/src/main/resources/mapper/project/ServiceDonatecompletioninfoMapper.xml
@@ -185,6 +185,7 @@
        sd.treatmenthospitalno AS treatmenthospitalno,
        sd.DonorNo AS donorno,
        sd.case_no AS caseNo,
        sd.InpatientNo AS inpatientno,
        sd.extracontent AS extracontent,
        sd.DonationCategory as donationcategory,
        sd.NAME AS name,
@@ -223,7 +224,9 @@
            <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 sd.id = #{infoid}</if>
            <if test="completeState != null  and completeState != ''">and sdc.complete_state = #{completeState}</if>
        </where>
        order by sd.InpatientNo desc
        <if test="pageNum != null and pageSize != null">limit #{pageNum},#{pageSize}</if>
    </select>