瀏覽代碼

代码优化

wangyu 6 年之前
父節點
當前提交
8b56c9f6ce
共有 1 個文件被更改,包括 3 次插入3 次删除
  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">