|
@@ -11,10 +11,10 @@
|
|
<result column="age_begin" property="ageBegin" />
|
|
<result column="age_begin" property="ageBegin" />
|
|
<result column="age_end" property="ageEnd" />
|
|
<result column="age_end" property="ageEnd" />
|
|
<result column="type" property="type" />
|
|
<result column="type" property="type" />
|
|
|
|
+ <result column="text_generate" property="textGenerate" />
|
|
<result column="control_type" property="controlType" />
|
|
<result column="control_type" property="controlType" />
|
|
<result column="sub_type" property="subType" />
|
|
<result column="sub_type" property="subType" />
|
|
<result column="tag_type" property="tagType" />
|
|
<result column="tag_type" property="tagType" />
|
|
- <result column="add_line" property="addLine" />
|
|
|
|
<result column="label_prefix" property="labelPrefix" />
|
|
<result column="label_prefix" property="labelPrefix" />
|
|
<result column="label_suffix" property="labelSuffix" />
|
|
<result column="label_suffix" property="labelSuffix" />
|
|
<result column="min_value" property="minValue" />
|
|
<result column="min_value" property="minValue" />
|
|
@@ -37,8 +37,8 @@
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
|
|
- <select id="getByQuestionMapping" parameterType="java.util.Map" resultMap="BaseResultMap">
|
|
|
|
- select t.* from icss_question_info t, icss_question_mapping m
|
|
|
|
|
|
+ <select id="getByQuestionMapping" parameterType="java.util.Map" resultType="com.diagbot.entity.wrapper.QuestionInfoWrapper">
|
|
|
|
+ select t.*, m.position, m.form_position , m.exclusion_type, m.symptom_type from icss_question_info t, icss_question_mapping m
|
|
where t.is_deleted = 'N' and m.is_deleted = 'N' and m.son_question = t.id
|
|
where t.is_deleted = 'N' and m.is_deleted = 'N' and m.son_question = t.id
|
|
and m.parent_question = #{id}
|
|
and m.parent_question = #{id}
|
|
<if test="sexType != null">
|
|
<if test="sexType != null">
|