究其原因是因为没有锁定要更新的行记录。将 mysql="select filebody from filelist where filename=?"中的SQL语句加上 for update即可。如:mysql="select filebody from filelist where filename=? for update"。 究其原因是因为没有锁定要更新的 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交