Fix test
This commit is contained in:
parent
e3b6f79b43
commit
5e0fb3d3b3
|
@ -503,7 +503,7 @@ func (session *Session) genInsertColumns(bean interface{}) ([]string, []interfac
|
||||||
if col.SQLType.IsNumeric() {
|
if col.SQLType.IsNumeric() {
|
||||||
args = append(args, 0)
|
args = append(args, 0)
|
||||||
} else {
|
} else {
|
||||||
args = append(args, time.Time{})
|
args = append(args, time.Time{}.Format("2006-01-02 15:04:05"))
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
args = append(args, nil)
|
args = append(args, nil)
|
||||||
|
|
Loading…
Reference in New Issue