修复export与list结果不统一问题
This commit is contained in:
parent
a514330db3
commit
817da5bc04
@ -85,9 +85,7 @@ public class ${ClassName}Controller extends BaseController {
|
|||||||
@Log(title = "${functionName}" , businessType = BusinessType.INSERT)
|
@Log(title = "${functionName}" , businessType = BusinessType.INSERT)
|
||||||
@PostMapping
|
@PostMapping
|
||||||
public AjaxResult add(@RequestBody ${ClassName} ${className}) {
|
public AjaxResult add(@RequestBody ${ClassName} ${className}) {
|
||||||
AjaxResult result = toAjax(i${ClassName}Service.save(${className}) ? 1 : 0);
|
return toAjax(i${ClassName}Service.save(${className}) ? 1 : 0);
|
||||||
result.put("data",${className});
|
|
||||||
return result;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user