瀏覽代碼

代码优化

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} ]]>