wangyu %!s(int64=6) %!d(string=hai) anos
pai
achega
8b56c9f6ce
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  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">