|
@@ -26,7 +26,14 @@
|
|
|
AND b.type='化验') t
|
|
|
WHERE 1=1
|
|
|
<if test="conceptName!=null and conceptName!=''">
|
|
|
- and conceptName LIKE CONCAT('%',#{conceptName},'%')
|
|
|
+ and (conceptName LIKE CONCAT('%',#{conceptName},'%'))
|
|
|
+ </if>
|
|
|
+ <if test="excludedConceptNames!=null and excludedConceptNames.size>0">
|
|
|
+ and (conceptName not in
|
|
|
+ <foreach collection="excludedConceptNames" open="(" close=")" separator="," item="excludedConceptName">
|
|
|
+ #{excludedConceptName}
|
|
|
+ </foreach>
|
|
|
+ )
|
|
|
</if>
|
|
|
</select>
|
|
|
|