diff --git a/src/main/java/cokr/xit/base/file/FileInfo.java b/src/main/java/cokr/xit/base/file/FileInfo.java index 63d684e..89a003b 100644 --- a/src/main/java/cokr/xit/base/file/FileInfo.java +++ b/src/main/java/cokr/xit/base/file/FileInfo.java @@ -98,7 +98,8 @@ public class FileInfo extends AbstractEntity { public void setInfo(FileInfo fileInfo) { fileInfo.setInfoType(Assert.notEmpty(infoType, "infoType")); fileInfo.setInfoKey(Assert.notEmpty(infoKey, "infoKey")); - fileInfo.setSubType(subType); + if (!Assert.isEmpty(subType)) + fileInfo.setSubType(subType); } }