Skip to content

Commit

Permalink
Merge pull request xxjwxc#190 from fchange/patch-1
Browse files Browse the repository at this point in the history
Update common.go
  • Loading branch information
xxjwxc authored Jan 6, 2022
2 parents a7169f2 + 05b0375 commit f79e1be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data/view/model/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit f79e1be

Please sign in to comment.