Commit da1bde5c by 吴博

bug:[none] fixsql

parent 56d3d02e
...@@ -303,7 +303,7 @@ ...@@ -303,7 +303,7 @@
</if> </if>
<if test="bookQueryList != null"> <if test="bookQueryList != null">
AND 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}',"%")) (b.BOOK_NAME LIKE CONCAT("%",'${item}',"%") OR b.ISBN LIKE CONCAT("%",'${item}',"%"))
</foreach> </foreach>
</if> </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