捐献基础表新增归档时间
捐献亲属确认表新增其他亲属
供体维护记录新增住院号排序,新增年龄区间、入院区间,协调员查询
捐献亲属确认修改住院号排序
医学评估表新增住院号排序,新增评估时间区间查询
患者死亡信息增住院号排序,新增死亡时间区间查询
伦理审查发起表增住院号排序,新增发起时间区间查询
捐献器官分配基础表表增住院号排序,新增分配状态,分配时间区间查询
捐献完成表增住院号排序,新增分配状态查询
| | |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date entryTime; |
| | | |
| | | @ApiModelProperty("归档时间") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date filingTime; |
| | | } |
| | |
| | | @ApiModelProperty("状态1待利用,2进行中,3捐献完成,4放弃") |
| | | @Excel(name = "状态1待利用,2进行中,3捐献完成,4放弃") |
| | | private String state; |
| | | |
| | | |
| | | @ApiModelProperty("其他亲属") |
| | | @Excel(name = "其他亲属") |
| | | private String otherFamilyMembers; |
| | | } |
| | | |
| | |
| | | @ApiModelProperty("状态1待利用,2进行中,3捐献完成,4放弃") |
| | | @Excel(name = "状态1待利用,2进行中,3捐献完成,4放弃") |
| | | private String state; |
| | | |
| | | |
| | | @ApiModelProperty("其他亲属") |
| | | @Excel(name = "其他亲属") |
| | | private String otherFamilyMembers; |
| | | } |
| | |
| | | @Excel(name = "负责人姓名") |
| | | private String responsibleusername; |
| | | |
| | | @ApiModelProperty("状态1待利用,2进行中,3捐献完成,4放弃") |
| | | private String state; |
| | | |
| | | @ApiModelProperty("开始死亡时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date startDeathtime; |
| | | |
| | | @ApiModelProperty("结束死亡时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date endDeathtime; |
| | | |
| | | } |
| | | |
| | |
| | | @Excel(name = "登记时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date registrationTime; |
| | | |
| | | @ApiModelProperty("开始时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date startTime; |
| | | |
| | | @ApiModelProperty("结束时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date endTime; |
| | | |
| | | } |
| | | |
| | |
| | | */ |
| | | @ApiModelProperty("捐献器官移植详情") |
| | | private List<ServiceDonatecomporgan> serviceDonatecomporganList; |
| | | |
| | | @ApiModelProperty("完成状态1待利用,2进行中,3捐献完成,4放弃") |
| | | private String completeState; |
| | | |
| | | } |
| | |
| | | @Excel(name = "扩展") |
| | | private String extContent; |
| | | |
| | | @ApiModelProperty("见证状态1待获取、2进行中、3获取完成、4放弃") |
| | | private String witnessState; |
| | | |
| | | } |
| | | |
| | |
| | | @ApiModelProperty("状态1待利用,2进行中,3捐献完成,4放弃") |
| | | @Excel(name = "状态1待利用,2进行中,3捐献完成,4放弃") |
| | | private String state; |
| | | |
| | | @ApiModelProperty("开始入院时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date startEntryTime; |
| | | |
| | | @ApiModelProperty("结束入院时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date endEntryTime; |
| | | |
| | | |
| | | } |
| | | |
| | |
| | | @ApiModelProperty("评估附件") |
| | | private String assessannex; |
| | | |
| | | @ApiModelProperty("当期医疗机构") |
| | | private String currentMedicalInstitution; |
| | | |
| | | @ApiModelProperty("开始评估时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date startAssessTime; |
| | | |
| | | @ApiModelProperty("结束评估时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date endAssessTime; |
| | | |
| | | |
| | | } |
| | |
| | | @ApiModelProperty("发起主题") |
| | | @Excel(name = "发起主题") |
| | | private String initiateTheme; |
| | | |
| | | @ApiModelProperty("开始时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date startTime; |
| | | |
| | | @ApiModelProperty("结束时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date endTime; |
| | | } |
| | | |
| | |
| | | <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> |
| | | |
| | |
| | | <if test="inpatientno != null and inpatientno != ''">and sd.inpatientno = #{inpatientno}</if> |
| | | <if test="donorno != null and donorno != ''">and sdc.DonorNo = #{donorno}</if> |
| | | <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 |
| | | <if test="pageNum != null and pageSize != null">limit #{pageNum},#{pageSize}</if> |
| | | </select> |
| | | |
| | |
| | | sdm.item_time as itemTime, |
| | | sdt.DeathTime as deathTime, |
| | | sdm.item_desc as itemDesc, |
| | | sdm.state |
| | | sdm.state, |
| | | entry_time |
| | | FROM |
| | | service_donatebaseinfo sd |
| | | LEFT JOIN service_donatemaintenance sdm ON sd.ID = sdm.InfoID |
| | |
| | | <if test="inpatientno != null ">and sd.InpatientNo = #{inpatientno}</if> |
| | | <if test="caseNo != null and caseNo != ''">and case_no = #{caseNo}</if> |
| | | <if test="reportTime != null ">and ReportTime = #{reportTime}</if> |
| | | <if test="startEntryTime != null and endEntryTime != null ">and entry_time BETWEEN #{startEntryTime} and #{endEntryTime}</if> |
| | | <if test="startAge != null and endAge != null ">and age BETWEEN #{startAge} and #{endAge}</if> |
| | | <if test="donorno != null and donorno != ''">and DonorNo = #{donorno}</if> |
| | | <if test="name != null and name != ''">and name like concat('%', #{name}, '%')</if> |
| | | <if test="coordinatorName != null and coordinatorName != ''">and coordinator_name like concat('%', #{coordinatorName}, '%')</if> |
| | |
| | | <if test="itemTime != null ">and item_time = #{itemTime}</if> |
| | | <if test="itemDesc != null and itemDesc != ''">and item_desc = #{itemDesc}</if> |
| | | <if test="id != null ">and sdt.id = #{id}</if> |
| | | <if test="state != null and state != ''">and sdm.state = #{state}</if> |
| | | </where> |
| | | order by sd.InpatientNo desc |
| | | <if test="pageNum != null and pageSize != null">limit #{pageNum},#{pageSize}</if> |
| | | |
| | | </select> |
| | | |
| | | </mapper> |
| | |
| | | sd.termination_case = 0 |
| | | <if test="donorno != null and donorno != ''">and sd.DonorNo = #{donorno}</if> |
| | | <if test="infoid != null ">and sd.ID = #{infoid}</if> |
| | | <if test="inpatientno != null ">and sd.InpatientNo = #{inpatientno}</if> |
| | | |
| | | <if test="treatmenthospitalname != null and treatmenthospitalname != ''">and sd.treatmenthospitalname like |
| | | concat('%', #{treatmenthospitalname}, '%') |
| | | </if> |
| | |
| | | <if test="registrationCode != null and registrationCode != ''"> |
| | | and sdb.registration_code = #{registrationCode} |
| | | </if> |
| | | <if test="allocationStatus != null and allocationStatus != ''"> |
| | | and sdb.allocation_status = #{allocationStatus} |
| | | </if> |
| | | <if test="startTime != null and endTime != null ">and sdb.allocation_time BETWEEN #{startTime} and #{endTime}</if> |
| | | </where> |
| | | order by sd.InpatientNo desc |
| | | <if test="pageNum != null and pageSize != null">limit #{pageNum},#{pageSize}</if> |
| | | </select> |
| | | |
| | |
| | | <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> |
| | | |
| | |
| | | sd.termination_case = 0 |
| | | <if test="infoid != null ">and sd.id = #{infoid}</if> |
| | | <if test="inpatientno != null ">and sd.InpatientNo = #{inpatientno}</if> |
| | | <if test="name != null and name != ''">and sd.name like concat('%', #{name}, '%')</if> |
| | | <if test="caseNo != null and caseNo != ''">and sd.case_no = #{caseNo}</if> |
| | | <if test="expertConclusion != null ">and se.expert_conclusion = #{expertConclusion}</if> |
| | | <if test="expertName != null ">and se.expert_name = #{expertName}</if> |
| | | <if test="expertOpinion != null ">and se.expert_opinion = #{expertOpinion}</if> |
| | | <if test="expertTime != null ">and se.expert_time = #{expertTime}</if> |
| | | <if test="status != null ">and se.status = #{status}</if> |
| | | <if test="startTime != null and endTime != null ">and se.start_time BETWEEN #{startTime} and #{endTime}</if> |
| | | </where> |
| | | order by sd.InpatientNo desc |
| | | <if test="pageNum != null and pageSize != null">limit #{pageNum},#{pageSize}</if> |
| | | </select> |
| | | |
| | |
| | | sb.termination_case = 0 |
| | | <if test="infoid != null">AND sb.ID = #{infoid}</if> |
| | | <if test="inpatientno != null">AND sb.InpatientNo = #{inpatientno}</if> |
| | | <if test="urrentMedicalInstitution != null">AND sb.current_medical_institution = #{urrentMedicalInstitution}</if> |
| | | <if test="caseNo != null and caseNo != ''">AND sm.case_no = #{caseNo}</if> |
| | | <if test="donorno != null and donorno != ''">AND sm.DonorNo = #{donorno}</if> |
| | | <if test="diagnosisname != null and diagnosisname != ''">AND sm.DiagnosisName = #{diagnosisname}</if> |
| | | <if test="assessState != null and assessState != ''">AND sm.assess_state = #{assessState}</if> |
| | | <if test="assessTime != null ">AND sm.assess_time = #{assessTime}</if> |
| | | <if test="startAssessTime != null and endAssessTime != null ">and assess_time BETWEEN #{startAssessTime} and #{endAssessTime}</if> |
| | | <if test="name != null and name != ''">AND sb.Name LIKE CONCAT('%', #{name}, '%')</if> |
| | | <if test="sex != null and sex != ''">AND sb.Sex = #{sex}</if> |
| | | <if test="idcardno != null and idcardno != ''">AND sb.IDCardNo = #{idcardno}</if> |
| | |
| | | #{treatmenthospitalname} |
| | | </if> |
| | | </where> |
| | | order by sd.InpatientNo desc |
| | | |
| | | <if test="pageNum != null and pageSize != null">limit #{pageNum},#{pageSize}</if> |
| | | |
| | | </select> |
| | |
| | | sr.education as education, |
| | | sr.relativeconfirmationsignname, |
| | | sr.relativeidcardno, |
| | | sr.state |
| | | 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 |
| | |
| | | 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> |
| | | |