-- ============================================================================= -- 充值记录退款状态 — xhCustomRecharge / xhGhsRecharge -- ============================================================================= -- 【用途】供货商后台对已完成充值原路/线下退款后,列表展示「已退款」 -- 【业务类】CustomRechargeClass::refundPaidRecharge -- 执行前确认列不存在;已存在则跳过对应 ALTER。 -- ============================================================================= SET SESSION lock_wait_timeout = 10; ALTER TABLE `xhCustomRecharge` ADD COLUMN `refundStatus` tinyint(1) NOT NULL DEFAULT 0 COMMENT '0正常 1已退款', ALGORITHM = INPLACE, LOCK = NONE; ALTER TABLE `xhGhsRecharge` ADD COLUMN `refundStatus` tinyint(1) NOT NULL DEFAULT 0 COMMENT '0正常 1已退款', ALGORITHM = INPLACE, LOCK = NONE;