// 注册sql.date/sql.Timestamp的转换器,即允许BeanUtils.copyProperty时的源目标的sql类型的值允许为空
    //修复异常:No value specified for ‘BigDecimal’
    ConvertUtils.register(new org.apache.commons.beanutils.converters.DateConverter(null), java.util.Date.class);
    BeanUtilsBean.getInstance().getConvertUtils().register(false, false, 0);

    1. BeanUtils.copyProperties(ywStationFuheVM, ywStationFuhe);<br /> ywStationFuheVM.setFhrqStr(DateUtil.dateToString(ywStationFuhe.getFhdate()));<br /> if (ywStationFuhe.getWcsgdate() != null) {<br /> ywStationFuheVM.setWcsgdateStr(DateUtil.dateToString(ywStationFuhe.getWcsgdate()));
    2. }