You've already forked FrameTour-BE
0元购逻辑,直接送
This commit is contained in:
@ -93,8 +93,8 @@
|
||||
END AS goods_name,
|
||||
CASE oi.goods_type
|
||||
WHEN '0' THEN mvd.face_id
|
||||
WHEN '1' THEN msd.face_id
|
||||
WHEN '2' THEN msd.face_id
|
||||
WHEN '1' THEN oi.goods_id
|
||||
WHEN '2' THEN oi.goods_id
|
||||
END AS face_id,
|
||||
CASE oi.goods_type
|
||||
WHEN '0' THEN mvd.video_url
|
||||
|
@ -187,6 +187,11 @@
|
||||
from scenic_config
|
||||
where scenic_id = #{scenicId}
|
||||
</select>
|
||||
<select id="get" resultType="com.ycwl.basic.model.pc.scenic.entity.ScenicEntity">
|
||||
select *
|
||||
from scenic
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<resultMap id="scenic" type="com.ycwl.basic.model.pc.scenic.resp.ScenicRespVO">
|
||||
<id property="id" column="id"/>
|
||||
|
@ -36,7 +36,7 @@
|
||||
<if test="isBuy!=null">is_buy = #{isBuy}, </if>
|
||||
<if test="orderId!=null">order_id = #{orderId}, </if>
|
||||
</set>
|
||||
where member_id = #{memberId} and source_id = #{sourceId} and type = #{type}
|
||||
where member_id = #{memberId} and face_id = #{faceId} and type = #{type}
|
||||
</update>
|
||||
<delete id="deleteById">
|
||||
delete from source where id = #{id}
|
||||
|
@ -39,7 +39,7 @@
|
||||
</update>
|
||||
<update id="updateRelationWhenTaskSuccess">
|
||||
update member_video
|
||||
set video_id = #{videoId}
|
||||
set video_id = #{videoId}, is_buy = #{isBuy}
|
||||
where task_id = #{taskId}
|
||||
</update>
|
||||
<delete id="deleteById">
|
||||
|
Reference in New Issue
Block a user