Signed-off-by: luoshi <luoshi@qmth.com.cn>
@@ -15,11 +15,6 @@ public class IntegerConvertor implements ValueConvertor<Integer> {
@Override
public void format(Integer object, FieldParam param, Cell cell) throws Exception {
- // if (StringUtils.isNotBlank(param.getAnnotation().pattern())) {
- // cell.setCellValue(new DecimalFormat(param.getAnnotation().pattern()).format(object));
- // } else {
- // cell.setCellValue(object);
- // }
cell.setCellValue(object);
}
@@ -15,6 +15,6 @@ public class LongConvertor implements ValueConvertor<Long> {
public void format(Long object, FieldParam param, Cell cell) throws Exception {
- cell.setCellValue(String.valueOf(object));
+ cell.setCellValue(object);