Fix bug
This commit is contained in:
parent
7419579615
commit
fc3bb74d34
|
@ -285,6 +285,7 @@ func (session *Session) insertStruct(bean interface{}) (int64, error) {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
var sqlStr = session.engine.dialect.Quoter().Replace(buf.String())
|
var sqlStr = session.engine.dialect.Quoter().Replace(buf.String())
|
||||||
|
args = buf.Args()
|
||||||
|
|
||||||
handleAfterInsertProcessorFunc := func(bean interface{}) {
|
handleAfterInsertProcessorFunc := func(bean interface{}) {
|
||||||
if session.isAutoCommit {
|
if session.isAutoCommit {
|
||||||
|
|
Loading…
Reference in New Issue