[fix] 修正 ResField DataType 的数据类型

This commit is contained in:
what-00 2023-04-12 19:53:45 +08:00
parent 3deedff8bc
commit ce72472106

View File

@ -21,7 +21,7 @@ type ResField struct {
Name string `db:"name"` Name string `db:"name"`
Code string `db:"code"` Code string `db:"code"`
CodeResource string `db:"codeResource"` CodeResource string `db:"codeResource"`
DataType res_type.ResFieldByString `db:"table_type"` DataType contracts.ResDataType `db:"table_type"`
Length string `db:"length"` Length string `db:"length"`
Comment string `db:"comment"` Comment string `db:"comment"`
Default string `db:"default"` Default string `db:"default"`