MySQL更新锁表超时 Lock wait timeout exceeded

背景 最近在做一个订单的钉钉审批功能,钉钉审批通过之后,订单更新审核状态,然后添加一条入库,并且更新入库状态: // 订单审批通过 @Transactional(rollbackFor = Exception.class) public void orderPass() { // 更新订单审核状态
posted @ 2022-08-16 08:53  小码A梦  阅读(752)  评论(1编辑  收藏  举报