防止表格最后页最后项删除变成暂无数据

This commit is contained in:
RuoYi
2021-09-02 10:19:04 +08:00
parent 57178e72a4
commit ee823b8326
17 changed files with 50 additions and 2 deletions

View File

@ -48,6 +48,22 @@ public class ServletUtils
return Convert.toInt(getRequest().getParameter(name), defaultValue);
}
/**
* 获取Boolean参数
*/
public static Boolean getParameterToBool(String name)
{
return Convert.toBool(getRequest().getParameter(name));
}
/**
* 获取Boolean参数
*/
public static Boolean getParameterToBool(String name, Boolean defaultValue)
{
return Convert.toBool(getRequest().getParameter(name), defaultValue);
}
/**
* 获取request
*/