|
@@ -73,40 +73,40 @@ public interface PhysicalExamReportMapper {
|
|
|
"AND user_id = #{userId} " +
|
|
|
"</if>" +
|
|
|
"<if test='examDateStart != null'>" +
|
|
|
- "AND exam_date >= #{examDateStart} " +
|
|
|
+ "AND exam_date <![CDATA[>=]]> #{examDateStart} " +
|
|
|
"</if>" +
|
|
|
"<if test='examDateEnd != null'>" +
|
|
|
- "AND exam_date <= #{examDateEnd} " +
|
|
|
+ "AND exam_date <![CDATA[<=]]> #{examDateEnd} " +
|
|
|
"</if>" +
|
|
|
"<if test='heightMin != null'>" +
|
|
|
- "AND height >= #{heightMin} " +
|
|
|
+ "AND height <![CDATA[>=]]> #{heightMin} " +
|
|
|
"</if>" +
|
|
|
"<if test='heightMax != null'>" +
|
|
|
- "AND height <= #{heightMax} " +
|
|
|
+ "AND height <![CDATA[<=]]> #{heightMax} " +
|
|
|
"</if>" +
|
|
|
"<if test='weightMin != null'>" +
|
|
|
- "AND weight >= #{weightMin} " +
|
|
|
+ "AND weight <![CDATA[>=]]> #{weightMin} " +
|
|
|
"</if>" +
|
|
|
"<if test='weightMax != null'>" +
|
|
|
- "AND weight <= #{weightMax} " +
|
|
|
+ "AND weight <![CDATA[<=]]> #{weightMax} " +
|
|
|
"</if>" +
|
|
|
"<if test='bmiMin != null'>" +
|
|
|
- "AND bmi >= #{bmiMin} " +
|
|
|
+ "AND bmi <![CDATA[>=]]> #{bmiMin} " +
|
|
|
"</if>" +
|
|
|
"<if test='bmiMax != null'>" +
|
|
|
- "AND bmi <= #{bmiMax} " +
|
|
|
+ "AND bmi <![CDATA[<=]]> #{bmiMax} " +
|
|
|
"</if>" +
|
|
|
"<if test='waistCircumferenceMin != null'>" +
|
|
|
- "AND waist_circumference >= #{waistCircumferenceMin} " +
|
|
|
+ "AND waist_circumference <![CDATA[>=]]> #{waistCircumferenceMin} " +
|
|
|
"</if>" +
|
|
|
"<if test='waistCircumferenceMax != null'>" +
|
|
|
- "AND waist_circumference <= #{waistCircumferenceMax} " +
|
|
|
+ "AND waist_circumference <![CDATA[<=]]> #{waistCircumferenceMax} " +
|
|
|
"</if>" +
|
|
|
"<if test='chestCircumferenceMin != null'>" +
|
|
|
- "AND chest_circumference >= #{chestCircumferenceMin} " +
|
|
|
+ "AND chest_circumference <![CDATA[>=]]> #{chestCircumferenceMin} " +
|
|
|
"</if>" +
|
|
|
"<if test='chestCircumferenceMax != null'>" +
|
|
|
- "AND chest_circumference <= #{chestCircumferenceMax} " +
|
|
|
+ "AND chest_circumference <![CDATA[<=]]> #{chestCircumferenceMax} " +
|
|
|
"</if>" +
|
|
|
"<if test='reportStatus != null'>" +
|
|
|
"AND report_status = #{reportStatus} " +
|