diff --git a/src/main/resources/templates/vm/html/edit.html.vm b/src/main/resources/templates/vm/html/edit.html.vm index d6bb5958..e98486d5 100644 --- a/src/main/resources/templates/vm/html/edit.html.vm +++ b/src/main/resources/templates/vm/html/edit.html.vm @@ -4,7 +4,7 @@
-
+ #foreach($column in $columns) #if($column.columnName != $primaryKey.columnName) diff --git a/src/main/resources/templates/vm/java/Controller.java.vm b/src/main/resources/templates/vm/java/Controller.java.vm index be1f1b72..35b36fb6 100644 --- a/src/main/resources/templates/vm/java/Controller.java.vm +++ b/src/main/resources/templates/vm/java/Controller.java.vm @@ -42,7 +42,7 @@ public class ${className}Controller extends BaseController * 查询${tableComment}列表 */ @RequiresPermissions("${moduleName}:${classname}:list") - @@PostMapping("/list") + @PostMapping("/list") @ResponseBody public TableDataInfo list(${className} ${classname}) {