浏览代码

性别过滤

zhoutg 6 年之前
父节点
当前提交
1b97063e3d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 != ''">