修复模版生成bug
关联表 新增字段选择
This commit is contained in:
1 parent
21d217c42a
commit
91f2adb340
1 file changed
-7
@@ -141,13 +141,6 @@ func GenCodeV2(c *gin.Context) {
|
|||||||
tools2.HasError(err, "", -1)
|
tools2.HasError(err, "", -1)
|
||||||
table.TableId = id
|
table.TableId = id
|
||||||
tab, _ := table.Get()
|
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 {
|
if tab.IsActions == 1 {
|
||||||
ActionsGen(tab)
|
ActionsGen(tab)
|
||||||
|
|||||||
Reference in new issue
Block a user