diff --git a/apis/tools/systables.go b/apis/tools/systables.go index 8558721d..de43c726 100644 --- a/apis/tools/systables.go +++ b/apis/tools/systables.go @@ -118,6 +118,7 @@ func InsertSysTable(c *gin.Context) { if strings.Contains(dbcolumn[i].ColumnKey, "PR") { column.IsPk = "1" column.Pk = true + data.PkColumn = dbcolumn[i].ColumnName } namelist := strings.Split(dbcolumn[i].ColumnName, "_")