Browse Source

代码优化

wangyu 6 năm trước cách đây
mục cha
commit
000e44833f
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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} ]]>