pass build

This commit is contained in:
Lunny Xiao 2021-07-21 12:59:50 +08:00
parent ca0227838d
commit c53c61a6a1
1 changed files with 1 additions and 1 deletions

View File

@ -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")
} }
} }