From 9fcdb9fb1c92ed5954ce9feb39ab108ad8749d79 Mon Sep 17 00:00:00 2001 From: mikael <13247629622@163.com> Date: Sun, 20 Mar 2022 22:53:22 +0800 Subject: [PATCH] fix -cache=true insert no clean cache --- tools/goctl/model/sql/gen/insert.go | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/goctl/model/sql/gen/insert.go b/tools/goctl/model/sql/gen/insert.go index 46c287489060..1ca7b312aa7e 100644 --- a/tools/goctl/model/sql/gen/insert.go +++ b/tools/goctl/model/sql/gen/insert.go @@ -55,7 +55,6 @@ func genInsert(table Table, withCache, postgreSql bool) (string, string, error) Parse(text). Execute(map[string]interface{}{ "withCache": withCache, - "containsIndexCache": table.ContainsUniqueCacheKey, "upperStartCamelObject": camel, "lowerStartCamelObject": stringx.From(camel).Untitle(), "expression": strings.Join(expressions, ", "),