Have you tried setting paddingChar='0'
leading field camel bindy
-
29-06-2022 - |
题
I use Camel Bindy and @FixedLengthRecord strategy .
I have a field :
@DataField(pos=21, length=6, trim=true,align="R")
private BigDecimal refundCount
and I want leading this field zeros. What can I do to achieve this ?
解决方案
不隶属于 StackOverflow