@@ -71,12 +71,6 @@ public class ${table.controllerName} {
return R.success();
}
- @PostMapping("/detail")
- public R detail(@RequestBody ${entity}Vo ${table.entityPath}Vo){
- ${entity} result = ${table.entityPath}Service.detail(${table.entityPath}Vo);
- return R.success(result);
- }
-
#end
@@ -25,6 +25,4 @@ public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {
void delete(${entity}Vo ${table.entityPath}Vo);
- ${entity} detail(${entity}Vo ${table.entityPath}Vo);
@@ -52,10 +52,4 @@ public class ${table.serviceImplName} extends ${superServiceImplClass}<${table.m
removeById(${table.entityPath}Vo.getId());
- @Override
- public ${entity} detail(${entity}Vo ${table.entityPath}Vo) {
- ${entity} result = getById(${table.entityPath}Vo.getId());
- return result;