新增代码生成详情页功能

This commit is contained in:
RuoYi 2026-04-11 17:34:18 +08:00
parent 5cfe0012ce
commit 53f9d09552

View File

@ -369,7 +369,7 @@ public class VelocityUtils
*/
public static boolean genView(JSONObject paramsObj)
{
if (paramsObj.containsKey(GenConstants.GEN_VIEW))
if (StringUtils.isNotNull(paramsObj) && paramsObj.containsKey(GenConstants.GEN_VIEW))
{
return paramsObj.getBoolean(GenConstants.GEN_VIEW);
}