|
@@ -75,6 +75,7 @@
|
|
|
AND b.is_deleted = 'N'
|
|
|
AND a.concept_id = b.id
|
|
|
AND a.id = b.lib_id
|
|
|
+ AND b.status = 1
|
|
|
<if test="inputStr!=null and inputStr!=''">
|
|
|
AND ( a.`name` = #{inputStr} OR LOWER(a.spell) = LOWER(#{inputStr})
|
|
|
<if test="typeId!=null and typeId==100">
|
|
@@ -129,6 +130,7 @@
|
|
|
AND b.is_deleted = 'N'
|
|
|
AND a.concept_id = b.id
|
|
|
AND a.id = b.lib_id
|
|
|
+ AND b.status = 1
|
|
|
<if test="inputStr!=null and inputStr!=''">
|
|
|
AND ( a.`name` LIKE concat(#{inputStr},'%') OR LOWER(a.spell) LIKE LOWER(concat(#{inputStr},'%'))
|
|
|
<if test="typeId!=null and typeId==100">
|
|
@@ -183,6 +185,7 @@
|
|
|
AND b.is_deleted = 'N'
|
|
|
AND a.concept_id = b.id
|
|
|
AND a.id = b.lib_id
|
|
|
+ AND b.status = 1
|
|
|
<if test="inputStr!=null and inputStr!=''">
|
|
|
AND ( a.`name` LIKE concat('%',#{inputStr},'%') OR LOWER(a.spell) LIKE LOWER( concat('%',#{inputStr},'%'))
|
|
|
<if test="typeId!=null and typeId==100">
|