Spring 经典语句与技巧
@Value 设置Integer默认值
@Value("#{T(java.lang.Integer).parseInt('${request.batch.invalid.length:1000}')}")
private Integer requestBatchInvalidLength = 1000;
探究未知是最大乐趣
@Value 设置Integer默认值
@Value("#{T(java.lang.Integer).parseInt('${request.batch.invalid.length:1000}')}")
private Integer requestBatchInvalidLength = 1000;