|
@@ -59,17 +59,17 @@
|
|
and a.concept_id = b.concept_id
|
|
and a.concept_id = b.concept_id
|
|
</if>
|
|
</if>
|
|
<if test="type!=null and type==127">
|
|
<if test="type!=null and type==127">
|
|
- JOIN kl_tcm_disease b
|
|
|
|
|
|
+ left join kl_tcm_disease b
|
|
on b.is_deleted = 'N'
|
|
on b.is_deleted = 'N'
|
|
and a.concept_id = b.concept_id
|
|
and a.concept_id = b.concept_id
|
|
</if>
|
|
</if>
|
|
<if test="type!=null and type==128">
|
|
<if test="type!=null and type==128">
|
|
- JOIN kl_tcm_syndrome b
|
|
|
|
|
|
+ left join kl_tcm_syndrome b
|
|
on b.is_deleted = 'N'
|
|
on b.is_deleted = 'N'
|
|
and a.concept_id = b.concept_id
|
|
and a.concept_id = b.concept_id
|
|
</if>
|
|
</if>
|
|
<if test="type!=null and type==106">
|
|
<if test="type!=null and type==106">
|
|
- JOIN kl_operation b
|
|
|
|
|
|
+ left join kl_operation b
|
|
on b.is_deleted = 'N'
|
|
on b.is_deleted = 'N'
|
|
and a.concept_id = b.concept_id
|
|
and a.concept_id = b.concept_id
|
|
</if>
|
|
</if>
|
|
@@ -124,17 +124,17 @@
|
|
and a.concept_id = b.concept_id
|
|
and a.concept_id = b.concept_id
|
|
</if>
|
|
</if>
|
|
<if test="type!=null and type==127">
|
|
<if test="type!=null and type==127">
|
|
- JOIN kl_tcm_disease b
|
|
|
|
|
|
+ left join kl_tcm_disease b
|
|
on b.is_deleted = 'N'
|
|
on b.is_deleted = 'N'
|
|
and a.concept_id = b.concept_id
|
|
and a.concept_id = b.concept_id
|
|
</if>
|
|
</if>
|
|
<if test="type!=null and type==128">
|
|
<if test="type!=null and type==128">
|
|
- JOIN kl_tcm_syndrome b
|
|
|
|
|
|
+ left join kl_tcm_syndrome b
|
|
on b.is_deleted = 'N'
|
|
on b.is_deleted = 'N'
|
|
and a.concept_id = b.concept_id
|
|
and a.concept_id = b.concept_id
|
|
</if>
|
|
</if>
|
|
<if test="type!=null and type==106">
|
|
<if test="type!=null and type==106">
|
|
- JOIN kl_operation b
|
|
|
|
|
|
+ left join kl_operation b
|
|
on b.is_deleted = 'N'
|
|
on b.is_deleted = 'N'
|
|
and a.concept_id = b.concept_id
|
|
and a.concept_id = b.concept_id
|
|
</if>
|
|
</if>
|