We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e86afa9 + 3b247ba commit c596ddcCopy full SHA for c596ddc
src/main/resources/codetpls/controller.java.btl
@@ -89,7 +89,7 @@ public class ${table.controllerName} {
89
90
<% if(isNotEmpty(controllerMethods.update)){ %>
91
@PostMapping(value = "/update")
92
- public ResponseEntity<Object> delete(@RequestBody ${table.entityName} params) {
+ public ResponseEntity<Object> update(@RequestBody ${table.entityName} params) {
93
${serviceInstanceName}.updateById(params);
94
return new ResponseEntity<>("updated successfully", HttpStatus.OK);
95
}
0 commit comments