【修改】template模板

This commit is contained in:
PandaGoAdmin
2022-01-26 16:27:37 +08:00
parent c6ebe89865
commit f55212cd0b
6 changed files with 222 additions and 107 deletions

View File

@@ -241,7 +241,7 @@ func (s *toolsGenTableColumn) GenTableInit(tableName string) entity.DevGenTable
}
} else if s.IsTimeObject(dataType) {
//字段为时间类型
column.GoType = "time.Time"
column.GoType = "Time"
column.HtmlType = "datetime"
} else if s.IsNumberObject(dataType) {
//字段为数字类型