public void saveOrUpdateBhFixedvaluebill(BhFixedvaluebillDto dto) { if (StringUtils.isEmpty(dto.getFixvaluebillno())) { if (StringUtils.isEmpty(dto.getFixvaluebillno())) { dto.setFixvaluebillno(new SequenceCreator().getUID()); } } BhFixedvaluebill bhFixedvaluebill = (BhFixedvaluebill) BeanHelper.buildBean(BhFixedvaluebill.class, dto); bhFixedvaluebillDao.saveOrUpdate(bhFixedvaluebill); }