wangyu %!s(int64=6) %!d(string=hai) anos
pai
achega
000e44833f
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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} ]]>