项目日志中时常出现Deadlock found when trying to get lock; try restarting transaction,这种死锁的情况该如何处理解决:一:
二:
这个更新语句导致的么,id加个索引看看