Merge branch 'master' of https://git.bukova.info/repos/git/isspst
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user