先学知识点:
报错信息如下:
Error updating database. Cause: com.mysql.cj.jdbc.exceptions.MySQLTransactionRollbackException: Lock wait timeout exceeded; try restarting transaction
### The error may exist in cn/org/enst/project/processdocument/mapper/ProcessDocumentMapper.java (best guess)
### The error may involve cn.org.enst.project.processdocument.mapper.ProcessDocumentMapper.insert-Inline
### The error occurred while setting parameters
产生原因如下