Browse Source

代码优化

wangyu 6 years ago
parent
commit
000e44833f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      aipt-service/src/main/resources/mapper/ConceptMapper.xml

+ 2 - 2
aipt-service/src/main/resources/mapper/ConceptMapper.xml

@@ -357,10 +357,10 @@
                 AND t1.lib_type = #{detilType}
             </if>
             <if test="sexType == 3">
-                and (t3.sex_type in ('1','2','3'))
+                and t3.sex_type in ('1','2','3')
             </if>
             <if test="sexType != 3">
-                and (t3.sex_type in ('3',#{sexType}))
+                and t3.sex_type in ('3',#{sexType})
             </if>
             <if test="age != null and age != ''">
                 AND <![CDATA[ t3.min_age <= #{age} ]]>