fix(优惠券中心):携程接口优化
This commit is contained in:
@@ -149,4 +149,13 @@
|
||||
AND deleted = 0
|
||||
</select>
|
||||
|
||||
<!-- 更新优惠券状态(避免DateMetaObjectHandler干扰) -->
|
||||
<update id="updateCouponStatus">
|
||||
UPDATE t_coupon
|
||||
SET status = #{status},
|
||||
update_time = NOW()
|
||||
WHERE id = #{id}
|
||||
AND deleted = 0
|
||||
</update>
|
||||
|
||||
</mapper>
|
||||
@@ -71,4 +71,12 @@
|
||||
AND deleted = 0
|
||||
</select>
|
||||
|
||||
<!-- 更新订单的 order_status 字段 -->
|
||||
<update id="updateOrderStatus">
|
||||
UPDATE t_ctrip_order
|
||||
SET order_status = #{orderStatus}
|
||||
WHERE id = #{orderId}
|
||||
AND deleted = 0
|
||||
</update>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user