pass build
This commit is contained in:
parent
ca0227838d
commit
c53c61a6a1
|
@ -891,7 +891,7 @@ type AfterInsertStruct struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (a *AfterInsertStruct) AfterInsert() {
|
func (a *AfterInsertStruct) AfterInsert() {
|
||||||
if a.Dialect.Features().SupportReturnIDWhenInsert && a.Id == 0 {
|
if a.Id == 0 {
|
||||||
panic("a.Id")
|
panic("a.Id")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue