|
@@ -59,7 +59,7 @@
|
|
|
</update>
|
|
|
|
|
|
|
|
|
- <select id="search" resultType="com.diagbot.vo.DiagnoseSearchVO">
|
|
|
+ <select id="search" resultType="com.diagbot.entity.LibraryInfo">
|
|
|
SELECT a.* FROM kl_library_info a, kl_concept b
|
|
|
WHERE a.is_deleted = 'N' and b.is_deleted = 'N'
|
|
|
AND a.concept_id = b.id
|
|
@@ -69,7 +69,7 @@
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
- AND (a.NAME LIKE #{name} OR a.spell LIKE #{name})
|
|
|
+ AND (a.NAME LIKE concat('%',#{name},'%') OR a.spell LIKE concat('%',#{name},'%'))
|
|
|
</select>
|
|
|
|
|
|
</mapper>
|