Commit bd921820 by 田超

Merge branch 'fixbug/1032250' into 'master'

bug: [1032250] 【生产环境】【平台端】【小睿管理】小睿搜索管理-用户实搜记录接口500

See merge request rays/pcloud-book!1493
parents 08ed8686 29c6a471
......@@ -46,14 +46,13 @@
content,
book_id bookId,
agent_id agentId,
count(1) searchCount
from search_record
search_count searchCount
from search_record_dis
where 1=1
<if test="content!=null">
and content like CONCAT('%', #{content}, '%')
</if>
group by
content,book_id,agent_id
order by update_time desc
</select>
<select id="getSearchRecordList" parameterType="map" resultMap="BaseResultMap">
......
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