ruoyi-project/src/main/resources/mapper/project/ServiceDonatecompletioninfoMapper.xml
@@ -195,6 +195,7 @@ sd.BloodType AS bloodtype, sd.idcardno AS idcardno, sd.id AS infoid, sd.diagnosisname, sdc.ID AS id, sdc.DonorNo AS donorno, sdc.IsBodyDonation AS isbodydonation, @@ -226,7 +227,7 @@ <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 order by sd.ReportTime desc <if test="pageNum != null and pageSize != null">limit #{pageNum},#{pageSize}</if> </select>