You've already forked FrameTour-BE
补充全免费逻辑
This commit is contained in:
@ -111,8 +111,8 @@
|
||||
</select>
|
||||
|
||||
<insert id="add">
|
||||
insert into `order`(id, member_id, openid, price, pay_price, remark, broker_id, promo_code, scenic_id)
|
||||
VALUES (#{id}, #{memberId}, #{openId}, #{price}, #{payPrice}, #{remark}, #{brokerId}, #{promoCode}, #{scenicId})
|
||||
insert into `order`(id, member_id, openid, slash_price, price, pay_price, remark, broker_id, promo_code, scenic_id, status)
|
||||
VALUES (#{id}, #{memberId}, #{openId}, #{slashPrice}, #{price}, #{payPrice}, #{remark}, #{brokerId}, #{promoCode}, #{scenicId}, #{status})
|
||||
</insert>
|
||||
<insert id="addOrderItems">
|
||||
insert into order_item(order_id,goods_type, goods_id) VALUES
|
||||
@ -343,5 +343,6 @@
|
||||
and oi.goods_id = #{goodsId}
|
||||
and oi.goods_type = #{goodsType}
|
||||
and o.status = 1
|
||||
limit 1
|
||||
</select>
|
||||
</mapper>
|
Reference in New Issue
Block a user