From ce72472106f96c02ae938d99f81d102ff7ff8b8e Mon Sep 17 00:00:00 2001 From: what-00 Date: Wed, 12 Apr 2023 19:53:45 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=E4=BF=AE=E6=AD=A3=20ResField=20DataTyp?= =?UTF-8?q?e=20=E7=9A=84=E6=95=B0=E6=8D=AE=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/res_field.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/base/res_field.go b/base/res_field.go index ef081e5..8d8ba0f 100644 --- a/base/res_field.go +++ b/base/res_field.go @@ -17,14 +17,14 @@ import ( // 资源字段 type ResField struct { - Uuid string `db:"uuid"` - Name string `db:"name"` - Code string `db:"code"` - CodeResource string `db:"codeResource"` - DataType res_type.ResFieldByString `db:"table_type"` - Length string `db:"length"` - Comment string `db:"comment"` - Default string `db:"default"` + Uuid string `db:"uuid"` + Name string `db:"name"` + Code string `db:"code"` + CodeResource string `db:"codeResource"` + DataType contracts.ResDataType `db:"table_type"` + Length string `db:"length"` + Comment string `db:"comment"` + Default string `db:"default"` } func (this ResField) ToStructField(tags ...string) reflect.StructField {