TascaTramitacioController.java 文件源码

java
阅读 39 收藏 0 点赞 0 评论 0

项目:helium 作者:
@InitBinder
public void initBinder(WebDataBinder binder) {
    binder.registerCustomEditor(
            Long.class,
            new CustomNumberEditor(Long.class, true));
    binder.registerCustomEditor(
            Double.class,
            new CustomNumberEditor(Double.class, true));
    binder.registerCustomEditor(
            BigDecimal.class,
            new CustomNumberEditor(
                    BigDecimal.class,
                    new DecimalFormat("#,##0.00"),
                    true));
    binder.registerCustomEditor(
            Boolean.class,
            new CustomBooleanEditor(true));
    binder.registerCustomEditor(
            Date.class,
            new CustomDateEditor(new SimpleDateFormat("dd/MM/yyyy"), true));
    binder.registerCustomEditor(
            Object.class,
            new ObjectTypeEditorHelper());
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号