请求逻辑提示信息优化

This commit is contained in:
lsymicc
2026-05-11 14:09:07 +08:00
parent 93d7877620
commit 4566753e09
7 changed files with 48 additions and 23 deletions

View File

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