This commit is contained in:
Lunny Xiao 2021-08-26 16:02:10 +08:00
parent 7419579615
commit fc3bb74d34
1 changed files with 1 additions and 0 deletions

View File

@ -285,6 +285,7 @@ func (session *Session) insertStruct(bean interface{}) (int64, error) {
return 0, err
}
var sqlStr = session.engine.dialect.Quoter().Replace(buf.String())
args = buf.Args()
handleAfterInsertProcessorFunc := func(bean interface{}) {
if session.isAutoCommit {