fix(优惠券中心):携程接口优化

This commit is contained in:
2025-08-28 15:58:08 +08:00
parent fd8d2f936f
commit 6999bb79a5
20 changed files with 828 additions and 2712 deletions
@@ -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>