| | |
| | | st.OrganDonation_Other as organdonationOther, |
| | | st.DonationCategory as donationcategory, |
| | | st.DeathJudgeAnnex as deathjudgeannex, |
| | | st.witness_state as witnessState |
| | | st.witness_state as witnessState, |
| | | st.IsSpendRemember as isspendremember, |
| | | st.IsRestoreRemains as isrestoreremains |
| | | FROM |
| | | service_donatebaseinfo sd |
| | | LEFT JOIN service_donationwitness st ON sd.ID = st.InfoID |
| | |
| | | <if test="operationdoctor != null and operationdoctor != ''">and st.OperationDoctor = #{operationdoctor} |
| | | </if> |
| | | <if test="infoid != null">and sd.ID = #{infoid}</if> |
| | | <if test="witnessState != null">and st.witness_state = #{witnessState}</if> |
| | | </where> |
| | | order by sd.InpatientNo desc |
| | | <if test="pageNum != null and pageSize != null">limit #{pageNum},#{pageSize}</if> |
| | | </select> |
| | | |