wangyu преди 6 години
родител
ревизия
000e44833f
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  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} ]]>