Merge remote-tracking branch 'origin/dev/dev-ltx' into dev/dev
This commit is contained in:
@@ -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<>();
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user