Merge remote-tracking branch 'origin/dev/dev-ltx' into dev/dev

This commit is contained in:
litianxiang
2025-10-31 16:54:42 +08:00
2 changed files with 4 additions and 3 deletions

View File

@@ -55,7 +55,8 @@ public class VisitRecordServiceImpl extends ServiceImpl<VisitRecordMapper, Visit
throw BusinessException.parameterRequired("Customer ID"); throw BusinessException.parameterRequired("Customer ID");
} }
LambdaQueryWrapper<VisitRecord> queryWrapper = new LambdaQueryWrapper<>(); LambdaQueryWrapper<VisitRecord> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.eq(VisitRecord::getCustomerId, customerId); queryWrapper.eq(VisitRecord::getCustomerId, customerId).orderByDesc(VisitRecord::getCreatedTime);
List<VisitRecord> visitRecords = this.list(queryWrapper); List<VisitRecord> visitRecords = this.list(queryWrapper);
List<LibraryVo> libraryVos = new ArrayList<>(); List<LibraryVo> libraryVos = new ArrayList<>();

View File

@@ -353,7 +353,7 @@ public class MinioUtil {
.method(Method.GET) .method(Method.GET)
.bucket(bucketName) .bucket(bucketName)
.object(objectName) .object(objectName)
.expiry(expires, TimeUnit.SECONDS) .expiry(expires, TimeUnit.MINUTES)
.build() .build()
); );
} catch (Exception e) { } catch (Exception e) {