| | |
| | | <result property="coordinatorOutOperating" column="coordinator_out_operating"/> |
| | | <result property="coordinatorSign" column="coordinator_sign"/> |
| | | <result property="coordinatorSignTime" column="coordinator_sign_time"/> |
| | | <result property="witnessState" column="witness_state"/> |
| | | |
| | | </resultMap> |
| | | |
| | | <sql id="selectServiceDonationwitnessVo"> |
| | |
| | | update_time, |
| | | OrganDonation, |
| | | OrganDonation_Other, |
| | | DonationCategory |
| | | donationcategory, |
| | | witness_state |
| | | from service_donationwitness |
| | | </sql> |
| | | |
| | |
| | | st.AortaPerfusionTime as aortaperfusiontime, |
| | | st.OrganDonation as organdonation, |
| | | st.OrganDonation_Other as organdonationOther, |
| | | st.DonationCategory as donationcategory |
| | | st.DonationCategory as donationcategory, |
| | | st.DeathJudgeAnnex as deathjudgeannex, |
| | | 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> |
| | | |