Ver código fonte

代码优化调整

gaodm 6 anos atrás
pai
commit
ba4905b12b

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

@@ -40,7 +40,7 @@
         <if test="startSex != null or startAge != null">
             AND t2.start_id = (
             SELECT
-            id
+            concept_id
             FROM
             kl_concept_common
             WHERE
@@ -74,7 +74,7 @@
         <if test="endSex != null or endAge != null">
             AND t2.end_id = (
             SELECT
-            id
+            concept_id
             FROM
             kl_concept_common
             WHERE
@@ -127,7 +127,7 @@
         <if test="startSex != null or startAge != null">
             AND t2.start_id = (
             SELECT
-            id
+            concept_id
             FROM
             kl_concept_common
             WHERE
@@ -161,7 +161,7 @@
         <if test="endSex != null or endAge != null">
             AND t2.end_id = (
             SELECT
-            id
+            concept_id
             FROM
             kl_concept_common
             WHERE