@@ -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 = (
@@ -127,7 +127,7 @@
@@ -161,7 +161,7 @@