From 69dd3ab639593b08592066e8e6a9523b2098516c Mon Sep 17 00:00:00 2001 From: 朱杰 <693337446@qq.com> Date: 星期六, 22 五月 2021 23:30:11 +0800 Subject: [PATCH] update 修改bo加入判断是否设置必填再加载必填注解 --- ruoyi-common/src/main/java/com/ruoyi/common/core/domain/BaseEntity.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/BaseEntity.java b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/BaseEntity.java index 755ce99..55655bf 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/BaseEntity.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/BaseEntity.java @@ -7,6 +7,7 @@ import java.io.Serializable; import java.util.Date; +import java.util.HashMap; import java.util.Map; /** @@ -43,6 +44,6 @@ private String remark; /** 璇锋眰鍙傛暟 */ - private Map<String, Object> params; + private Map<String, Object> params = new HashMap<>(); } -- Gitblit v1.9.3