update sl_player set user_gold = 1 where update_time <= ${dateNum}; update sl_player set user_gold = 0 where update_time > ${dateNum};