|
@@ -138,7 +138,7 @@
|
|
|
|
|
|
|
|
|
<select id="getByQuestionMapping" parameterType="java.util.Map" resultType="com.diagbot.entity.wrapper.QuestionInfoWrapper">
|
|
|
- select t.*, m.parent_question, m.position, m.form_position , m.exclusion_type, m.symptom_type from icss_question_info t, icss_question_mapping m
|
|
|
+ select t.*, m.parent_question, m.position, m.form_position , m.exclusion_type, m.symptom_type from prec_question_info t, prec_question_mapping m
|
|
|
where t.is_deleted = 'N' and m.is_deleted = 'N' and m.son_question = t.id
|
|
|
<if test="id != null">
|
|
|
and m.parent_question = #{id}
|
|
@@ -165,7 +165,7 @@
|
|
|
|
|
|
|
|
|
<select id="getByParam" parameterType="java.util.Map" resultMap="BaseResultMap">
|
|
|
- select * from icss_question_info where is_deleted = 'N'
|
|
|
+ select * from prec_question_info where is_deleted = 'N'
|
|
|
and id = #{id}
|
|
|
<if test="sexType != null and sexType != 3 and sexType != ''">
|
|
|
and sex_type in (3, #{sexType})
|
|
@@ -181,7 +181,7 @@
|
|
|
SELECT
|
|
|
a.*
|
|
|
FROM
|
|
|
- `icss_question_info` a
|
|
|
+ `prec_question_info` a
|
|
|
WHERE
|
|
|
a.is_deleted = 'N'
|
|
|
AND a.type = #{type} AND a.tag_type != 8 and a.control_type != 99
|
|
@@ -190,7 +190,7 @@
|
|
|
SELECT
|
|
|
c.question_id
|
|
|
FROM
|
|
|
- `icss_module_detail` c
|
|
|
+ `prec_module_detail` c
|
|
|
WHERE
|
|
|
c.is_deleted = 'N'
|
|
|
AND c.module_id = #{moduleId}
|