From 9fcffba8403c50c87006ce8c58d980e0d0ccf892 Mon Sep 17 00:00:00 2001 From: zepengdev <lzpsmith@outlook.com> Date: Sun, 22 Jun 2025 23:23:09 +0800 Subject: [PATCH] fix(product): 处理null问题 --- oying-tools/src/main/java/com/oying/domain/BucketStorage.java | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/oying-tools/src/main/java/com/oying/domain/BucketStorage.java b/oying-tools/src/main/java/com/oying/domain/BucketStorage.java index 9baedd1..e9a4a35 100644 --- a/oying-tools/src/main/java/com/oying/domain/BucketStorage.java +++ b/oying-tools/src/main/java/com/oying/domain/BucketStorage.java @@ -46,4 +46,13 @@ public void copy(BucketStorage source){ BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true)); } + + public BucketStorage(String realName,String name, String suffix, String path, String type, String size) { + this.realName = realName; + this.name = name; + this.suffix = suffix; + this.path = path; + this.type = type; + this.size = size; + } } -- Gitblit v1.9.3