|
@@ -31,7 +31,7 @@
|
|
<select id="getByParam" parameterType="java.util.Map" resultMap="BaseResultMap">
|
|
<select id="getByParam" parameterType="java.util.Map" resultMap="BaseResultMap">
|
|
select * from icss_question_info where is_deleted = 'N'
|
|
select * from icss_question_info where is_deleted = 'N'
|
|
and id = #{id}
|
|
and id = #{id}
|
|
- <if test="sexType != null and sexType != ''">
|
|
|
|
|
|
+ <if test="sexType != null and sexType != 3 and sexType != ''">
|
|
and sex_type in (3, #{sexType})
|
|
and sex_type in (3, #{sexType})
|
|
</if>
|
|
</if>
|
|
<if test="age != null and age != ''">
|
|
<if test="age != null and age != ''">
|