fix tests
This commit is contained in:
parent
c25d5751f6
commit
da6936580e
|
@ -1034,8 +1034,8 @@ type AfterInsertStruct struct {
|
||||||
Id int64
|
Id int64
|
||||||
}
|
}
|
||||||
|
|
||||||
func (a *AfterInsertStruct) AftertInsert(bean interface{}) {
|
func (a *AfterInsertStruct) AfterInsert() {
|
||||||
if a.Id != 0 {
|
if a.Id == 0 {
|
||||||
panic("a.Id")
|
panic("a.Id")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue