fix
This commit is contained in:
parent
51d382382f
commit
cfce3204ba
|
|
@ -408,6 +408,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
where user_id = #{userId}
|
||||
</select>
|
||||
|
||||
<select id="getHotSearchCountByMaId" resultType="Integer">
|
||||
select count(1) from ma_hot_search
|
||||
where ma_id = #{maId}
|
||||
</select>
|
||||
|
||||
<insert id="insertHotSearch">
|
||||
INSERT INTO ma_hot_search (ma_id, search_num)
|
||||
VALUES (#{maId}, 1)
|
||||
</insert>
|
||||
|
||||
<update id="updateHotSearchByMaId" parameterType="Long">
|
||||
update ma_hot_search
|
||||
set search_num = search_num + 1
|
||||
|
|
|
|||
Loading…
Reference in New Issue