From 46af0cf56776424c700943778268e34858301b0e Mon Sep 17 00:00:00 2001 From: zhangwenjian Date: Sat, 28 Mar 2020 22:47:05 +0800 Subject: [PATCH] update --- apis/tools/systables.go | 1 + 1 file changed, 1 insertion(+) diff --git a/apis/tools/systables.go b/apis/tools/systables.go index 8558721..de43c72 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, "_")