diff --git a/data/view/model/common.go b/data/view/model/common.go index ba0f6a4..7467953 100755 --- a/data/view/model/common.go +++ b/data/view/model/common.go @@ -100,6 +100,9 @@ func fixNullToPorint(name string, isNull bool) string { if strings.HasPrefix(name, "float") { return "*" + name } + if strings.HasPrefix(name, "date") { + return "*" + name + } if strings.HasPrefix(name, "time") { return "*" + name }