返回操作成功多少条数据
返回操作成功多少条数据 Signed-off-by: 刘继东 <wwwliujidong@163.com>
This commit is contained in:
parent
78e61d89ba
commit
200c06a838
|
|
@ -126,7 +126,7 @@ public class BaseController
|
||||||
*/
|
*/
|
||||||
protected AjaxResult toAjax(int rows)
|
protected AjaxResult toAjax(int rows)
|
||||||
{
|
{
|
||||||
return rows > 0 ? AjaxResult.success() : AjaxResult.error();
|
return rows > 0 ? AjaxResult.success(rows) : AjaxResult.error();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue