MySQL的SELECT ...for update 假设商品的id为1。/begin work;后。SELECT * from t_goods where status=1 for update;SELECT * from t_goods where status=1 for update; hanshangzhi 2020-06-10 10:41:55