Commit 117cb255 by 吴博

Merge branch 'feat/mofang' into 'release'

Feat/mofang

See merge request rays/pcloud-book!1699
parents b587ceb6 472dd560
...@@ -3441,15 +3441,15 @@ ...@@ -3441,15 +3441,15 @@
<select id="listMoFangBook" parameterType="map" resultType="com.pcloud.book.book.dto.MoFangBookDto"> <select id="listMoFangBook" parameterType="map" resultType="com.pcloud.book.book.dto.MoFangBookDto">
select select
a.book_id bookId, book_id bookId,
a.resource_count resourceCount, resource_count resourceCount,
a.jump_url jumpUrl, jump_url jumpUrl,
b.book_name bookName, book_name bookName,
b.cover_img coverImg cover_img coverImg
from mofang_book a inner join book b on a.book_id=b.book_id from mofang_book
where 1=1 where 1=1
<if test="keyWords !=null and keyWords!=''"> <if test="keyWords !=null and keyWords!=''">
and b.book_name like concat('%',#{keyWords},'%') and book_name like concat('%',#{keyWords},'%')
</if> </if>
</select> </select>
</mapper> </mapper>
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