新增代码生成详情页功能

This commit is contained in:
RuoYi 2026-04-11 17:34:04 +08:00
parent ba90333076
commit 80f24d9403

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