public void prepare() throws Exception { if (materail != null && materail.getId() != null) { this.materail = materailService.get(materail.getId()); this.materailHash = materail.hashCode(); } }