sinake
8 天以前 9822e79febb5f30635035dc13538ce36a09d92e1
ruoyi-project/src/main/resources/mapper/project/ServiceRelativesconfirmationMapper.xml
@@ -276,6 +276,7 @@
        sd.InpatientNo as inpatientno,
        sd.extracontent as extracontent,
        sd.RecordState as recordstate,
        sd.DonationCategory as donationcategory,
        sd.Sex as sex,
        sd.Age as age,
        sd.BloodType as bloodtype,
@@ -307,7 +308,9 @@
        sr.assessannex as assessannex,
        sr.education as education,
        sr.relativeconfirmationsignname,
        sr.relativeidcardno
        sr.relativeidcardno,
        sr.state,
        sr.other_family_members
        FROM service_donatebaseinfo sd
        LEFT JOIN service_relativesconfirmation sr ON sd.ID = sr.InfoID and sd.del_flag = 0
        AND sr.del_flag = 0
@@ -337,7 +340,7 @@
                and sr.SignDate <= #{endSigndate}
            </if>
        </where>
        order by sr.id desc,sd.id desc
        order by sd.InpatientNo desc
        <if test="pageNum != null and pageSize != null">limit #{pageNum},#{pageSize}</if>
    </select>