|
@@ -35,8 +35,10 @@
|
|
ON c.id = a.concept_id
|
|
ON c.id = a.concept_id
|
|
INNER JOIN kl_lexicon d
|
|
INNER JOIN kl_lexicon d
|
|
ON b.lib_type = d.code
|
|
ON b.lib_type = d.code
|
|
- WHERE a.concept_id IS NOT NULL
|
|
|
|
- <if test="libType!=null">
|
|
|
|
|
|
+ WHERE a.is_deleted = 'N'
|
|
|
|
+ and b.is_deleted = 'N'
|
|
|
|
+ and d.is_deleted = 'N'
|
|
|
|
+ <if test="libType!=null and libType =''">
|
|
AND b.lib_type =#{libType}
|
|
AND b.lib_type =#{libType}
|
|
</if>
|
|
</if>
|
|
<if test="libName!=null and libName =''">
|
|
<if test="libName!=null and libName =''">
|