|
|
@ -75,9 +75,9 @@ public class ${entityName}Controller extends BaseController {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 获取${tableVo.ftlDescription}
|
|
|
|
* 根据id获取
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@ApiOperation("获取${tableVo.ftlDescription}")
|
|
|
|
@ApiOperation("根据id获取")
|
|
|
|
@GetMapping(value = "/{id}")
|
|
|
|
@GetMapping(value = "/{id}")
|
|
|
|
public AjaxResult getInfo(@PathVariable("id") String id) {
|
|
|
|
public AjaxResult getInfo(@PathVariable("id") String id) {
|
|
|
|
return AjaxResult.success(${entityName?uncap_first}Service.getById(id));
|
|
|
|
return AjaxResult.success(${entityName?uncap_first}Service.getById(id));
|
|
|
|