From d371cfed631784f692bf5affdf64b061a6571ce0 Mon Sep 17 00:00:00 2001 From: jiang4869 <1121429190@qq.com> Date: Tue, 4 Jan 2022 10:14:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E5=BD=93=E8=A1=A8?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E7=B1=BB=E5=9E=8B=E4=B8=BAdatetime=E6=88=96?= =?UTF-8?q?=E8=80=85time=E5=B9=B6=E4=B8=94=E9=BB=98=E8=AE=A4=E4=B8=BANULL?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E5=9C=A8=E7=BB=93=E6=9E=84=E4=B8=AD=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E8=A2=AB=E8=AE=BE=E7=BD=AE=E6=88=90=E6=8C=87=E9=92=88?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/view/model/common.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/view/model/common.go b/data/view/model/common.go index c1281db..4f0dd0b 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, "time") { + return "*" + name + } } return name