Browse Source

代码优化

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

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

@@ -292,7 +292,7 @@
             AND t5.is_deleted = 'N'
             AND t6.is_deleted = 'N'
             AND t2.is_concept = 1
-            <if test="type != null">
+            <if test="detilType != null">
                 AND t1.lib_type = #{detilType}
             </if>
             <if test="sexType == 3">
@@ -328,7 +328,7 @@
             AND t5.is_deleted = 'N'
             AND t6.is_deleted = 'N'
             AND t2.is_concept = 1
-            <if test="type != null">
+            <if test="detilType != null">
                 AND t1.lib_type = #{detilType}
             </if>
             <if test="sexType == 3">
@@ -364,7 +364,7 @@
             AND t5.is_deleted = 'N'
             AND t6.is_deleted = 'N'
             AND t2.is_concept = 1
-            <if test="type != null">
+            <if test="detilType != null">
                 AND t1.lib_type = #{detilType}
             </if>
             <if test="sexType == 3">