mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 08:13:44 +08:00 
			
		
		
		
	修复export与list结果不统一问题
This commit is contained in:
		@@ -85,9 +85,7 @@ public class ${ClassName}Controller extends BaseController {
 | 
			
		||||
    @Log(title = "${functionName}" , businessType = BusinessType.INSERT)
 | 
			
		||||
    @PostMapping
 | 
			
		||||
    public AjaxResult add(@RequestBody ${ClassName} ${className}) {
 | 
			
		||||
        AjaxResult result = toAjax(i${ClassName}Service.save(${className}) ? 1 : 0);
 | 
			
		||||
        result.put("data",${className});
 | 
			
		||||
        return result;
 | 
			
		||||
        return toAjax(i${ClassName}Service.save(${className}) ? 1 : 0);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user