|
@@ -6,10 +6,10 @@
|
|
|
<![CDATA[
|
|
|
INSERT INTO patient_symptom_sim (patient_idx, cough_check, dyspnea_check, cold_fit_check, muscle_pain_check, headache_check, sore_throat_check,
|
|
|
smell_palate_check, fatigue_check, appetite_loss_check, sputum_check, ocin_check, vomiting_check, diarrhea_check, dizziness_check,
|
|
|
- nose_check, etc_check, etc_content, recorded_by, create_date)
|
|
|
+ nose_check, etc_check, etc_content, recorded_by_name, recorded_by_id, create_date)
|
|
|
VALUE (#{patientIdx}, #{coughCheck}, #{dyspneaCheck}, #{coldFitCheck}, #{musclePainCheck}, #{headacheCheck}, #{soreThroatCheck},
|
|
|
#{smellPalateCheck}, #{fatigueCheck}, #{appetiteLossCheck}, #{sputumCheck}, #{ocinCheck}, #{vomitingCheck}, #{diarrheaCheck}, #{dizzinessCheck},
|
|
|
- #{noseCheck}, #{etcCheck}, #{etcContent}, #{recordedBy}, NOW())
|
|
|
+ #{noseCheck}, #{etcCheck}, #{etcContent}, #{recordedByName}, #{recordedById}, NOW())
|
|
|
]]>
|
|
|
</insert>
|
|
|
<select id="selectSymptomCount" parameterType="PatientSymptomSimDTO" resultType="int">
|
|
@@ -39,7 +39,8 @@
|
|
|
nose_check AS noseCheck,
|
|
|
etc_check AS etcCheck,
|
|
|
etc_content AS etcContent,
|
|
|
- recorded_by AS recordedBy
|
|
|
+ recorded_by_name AS recordedByName,
|
|
|
+ recorded_by_id AS recordedById
|
|
|
FROM patient_symptom_sim
|
|
|
WHERE
|
|
|
patient_idx = #{patientIdx}
|