Commit 8fcc5149 by 田超

Merge branch 'fixbug/fixsql' into 'master'

bug:[none] fixsql

See merge request rays/pcloud-book!1256
parents 56d3d02e da1bde5c
......@@ -303,7 +303,7 @@
</if>
<if test="bookQueryList != null">
AND
<foreach collection="bookQueryList" item="item" index="index" separator="or" open="(" close=")">
<foreach collection="bookQueryList" item="item" index="index" separator="and" open="(" close=")">
(b.BOOK_NAME LIKE CONCAT("%",'${item}',"%") OR b.ISBN LIKE CONCAT("%",'${item}',"%"))
</foreach>
</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment