|
@@ -2,7 +2,7 @@
|
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
|
|
|
<mapper namespace="com.lemon.lifecenter.mapper.PatientSymptomSimMapper">
|
|
|
- <insert id="insertSymptom" parameterType="PatientSymptomDTO" useGeneratedKeys="true">
|
|
|
+ <insert id="insertSymptom" parameterType="PatientSymptomSimDTO" useGeneratedKeys="true">
|
|
|
<![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,
|
|
@@ -12,14 +12,14 @@
|
|
|
#{noseCheck}, #{etcCheck}, #{etcContent}, #{recordedBy}, NOW())
|
|
|
]]>
|
|
|
</insert>
|
|
|
- <select id="selectSymptomCount" parameterType="PatientSymptomDTO" resultType="int">
|
|
|
+ <select id="selectSymptomCount" parameterType="PatientSymptomSimDTO" resultType="int">
|
|
|
<![CDATA[
|
|
|
SELECT count(*) AS total
|
|
|
FROM patient_symptom_sim
|
|
|
WHERE patient_idx = #{patientIdx}
|
|
|
]]>
|
|
|
</select>
|
|
|
- <select id="selectSymptomList" parameterType="PatientSymptomDTO" resultType="PatientSymptomDTO">
|
|
|
+ <select id="selectSymptomList" parameterType="PatientSymptomSimDTO" resultType="PatientSymptomSimDTO">
|
|
|
<![CDATA[
|
|
|
SELECT create_date AS createDate,
|
|
|
cough_check AS coughCheck,
|