新增代码生成详情页功能

This commit is contained in:
RuoYi 2026-04-11 17:34:12 +08:00
parent aa9e203a32
commit 24e1cbbaed

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);
}