| | |
| | | sdi.heartDeathReason as heartdeathreason, |
| | | sdi.heartDeathJudgeDoctO as heartdeathjudgedocto, |
| | | sdi.heartDeathJudgeDoctT as heartdeathjudgedoctt, |
| | | sdi.heartDeathJudgeAnnex as heartdeathjudgeannex |
| | | sdi.heartDeathJudgeAnnex as heartdeathjudgeannex, |
| | | sdi.ext_Content as extContent |
| | | FROM |
| | | service_donatebaseinfo sd |
| | | LEFT JOIN service_deathinfo sdi ON sd.ID = sdi.InfoID |
| | |
| | | <if test="responsibleusername != null and responsibleusername != ''">and sd.ResponsibleUserName like |
| | | concat('%',#{responsibleusername}, '%') |
| | | </if> |
| | | |
| | | <if test="state != null and state != ''">and sdi.state = #{state}</if> |
| | | <if test="startDeathtime != null and endDeathtime != null ">and sdi.DeathTime BETWEEN #{startDeathtime} and #{endDeathtime}</if> |
| | | </where> |
| | | |
| | | order by sd.InpatientNo desc |
| | | <if test="pageNum != null and pageSize != null">limit #{pageNum},#{pageSize}</if> |
| | | </select> |
| | | |