|
|
|
@ -22,6 +22,7 @@
|
|
|
|
|
<result property="marriageChildHistory" column="marriage_child_history" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="operationHistoryFlag" column="operation_history_flag" jdbcType="INTEGER"/>
|
|
|
|
|
<result property="operationHistory" column="operation_history" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="finishAskTime" column="finish_ask_time" jdbcType="TIMESTAMP"/>
|
|
|
|
|
<result property="createUserId" column="create_user_id" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
|
|
|
|
<result property="updateUserId" column="update_user_id" jdbcType="VARCHAR"/>
|
|
|
|
@ -34,12 +35,14 @@
|
|
|
|
|
illness_history,allergy_history_flag,personal_history,
|
|
|
|
|
allergy_history,previous_history,previous_history_flag,
|
|
|
|
|
family_history,family_history_flag,marriage_child_history,
|
|
|
|
|
operation_history_flag,operation_history,create_user_id,
|
|
|
|
|
operation_history_flag,operation_history,finish_ask_time,create_user_id,
|
|
|
|
|
create_time,update_user_id,update_time
|
|
|
|
|
</sql>
|
|
|
|
|
<select id="findByProcessId" resultType="com.supervision.vo.ask.ProcessMedicalResVo">
|
|
|
|
|
select pr.process_no as processNo,
|
|
|
|
|
pr.update_time as recentTime,
|
|
|
|
|
pr.process_type as processType,
|
|
|
|
|
pr.user_id as userId,
|
|
|
|
|
pm.process_id as processId,
|
|
|
|
|
pm.disease_id as diseaseId,
|
|
|
|
|
mr.id as medicalRecId,
|
|
|
|
|