2 Commits

Author SHA1 Message Date
刘继东
c619b09729 Pre Merge pull request !358 from 刘继东/N/A 2025-03-11 04:52:45 +00:00
刘继东
200c06a838 返回操作成功多少条数据
返回操作成功多少条数据

Signed-off-by: 刘继东 <wwwliujidong@163.com>
2024-02-04 05:26:59 +00:00

View File

@@ -144,7 +144,7 @@ public class BaseController
*/
protected AjaxResult toAjax(int rows)
{
return rows > 0 ? AjaxResult.success() : AjaxResult.error();
return rows > 0 ? AjaxResult.success(rows) : AjaxResult.error();
}
/**