修复模版生成bug

关联表
新增字段选择
This commit is contained in:
linwenxiang
2020-09-16 21:12:13 +08:00
parent 21d217c42a
commit 91f2adb340
-7
View File
@@ -141,13 +141,6 @@ func GenCodeV2(c *gin.Context) {
tools2.HasError(err, "", -1)
table.TableId = id
tab, _ := table.Get()
//for i := range tab.Columns {
// if tab.Columns[i].IsInsert == "1" {
// tab.Columns[i].IsInsert = "true"
// continue
// }
// tab.Columns[i].IsInsert = "false"
//}
if tab.IsActions == 1 {
ActionsGen(tab)