Browse Source

性别过滤

zhoutg 6 years ago
parent
commit
1b97063e3d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      icssman-service/src/main/resources/mapper/QuestionInfoMapper.xml

+ 1 - 1
icssman-service/src/main/resources/mapper/QuestionInfoMapper.xml

@@ -53,7 +53,7 @@
         <if test="existName != null and existName != ''">
             and tag_name = #{existName}
         </if>
-        <if test="sexType != null and sexType != ''">
+        <if test="sexType != null and sexType != 3 and sexType != ''">
             and sex_type in (3, #{sexType})
         </if>
         <if test="age != null and age != ''">