BEGIN
IF new.status = 1 and old.status <> 1 then
update hb_user_balance_log set create_time = new.pay_time where user_id = new.uid and type = 8 and create_time = old.create_time;
END IF;
END
2021-07-31 11:25:16
BEGIN
IF new.status = 1 and old.status <> 1 then
update hb_user_balance_log set create_time = new.pay_time where user_id = new.uid and type = 8 and create_time = old.create_time;
END IF;
END
下一篇:MySQL常用语句