multitenant
František Přibyl 11 years ago
commit c614e73531

@ -30,7 +30,7 @@ public class RequirementBase extends BaseData {
private Date reqDate;
@Column(name = "DESCRIPTION")
private String description;
@ManyToOne(fetch = FetchType.LAZY)
@ManyToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "CENTRE_ID")
private Workgroup centre;
@ManyToOne(fetch = FetchType.EAGER)

@ -21,7 +21,7 @@ public class RequirementSubpage<T extends RequirementBase> extends ListViewModel
}
@Command
@NotifyChange("dataBean")
@NotifyChange({"dataBean", "canApprove"})
public void approve() {
this.getReqService().approve(getDataBean());
}

Loading…
Cancel
Save