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