Browse Source

代码优化调整

gaodm 6 years ago
parent
commit
ba4905b12b
1 changed files with 4 additions and 4 deletions
  1. 4 4
      aipt-service/src/main/resources/mapper/ConceptMapper.xml

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

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