1.前置交互日志扩展模糊查询

2.解决暂态时间12小时制的问题
3.优化文件工具类
This commit is contained in:
wr
2026-06-16 09:58:24 +08:00
parent 0196277eb2
commit 770b707b84
9 changed files with 123 additions and 22 deletions

View File

@@ -102,8 +102,11 @@ public class FileStorageUtil {
throw new BusinessException(OssResponseEnum.UPLOAD_FILE_ERROR);
}
} else if (generalInfo.getBusinessFileStorage() == GeneralConstant.AliYUN_OSS) {
filePath = dir;
aliYunOssUtils.uploadFile(dir, multipartFile);
filePath = dir.endsWith("/")?dir+getFileNameWithoutPath(multipartFile):dir+"/"+getFileNameWithoutPath(multipartFile);
if (filePath.charAt(0) == '/') {
filePath= filePath.substring(1);
}
aliYunOssUtils.uploadFile(filePath, multipartFile);
} else {
try {
// 构建完整目录:基准目录 + dir子目录