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;
|
private Date reqDate;
|
||||||
@Column(name = "DESCRIPTION")
|
@Column(name = "DESCRIPTION")
|
||||||
private String description;
|
private String description;
|
||||||
@ManyToOne(fetch = FetchType.LAZY)
|
@ManyToOne(fetch = FetchType.EAGER)
|
||||||
@JoinColumn(name = "CENTRE_ID")
|
@JoinColumn(name = "CENTRE_ID")
|
||||||
private Workgroup centre;
|
private Workgroup centre;
|
||||||
@ManyToOne(fetch = FetchType.EAGER)
|
@ManyToOne(fetch = FetchType.EAGER)
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ public class RequirementSubpage<T extends RequirementBase> extends ListViewModel
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Command
|
@Command
|
||||||
@NotifyChange("dataBean")
|
@NotifyChange({"dataBean", "canApprove"})
|
||||||
public void approve() {
|
public void approve() {
|
||||||
this.getReqService().approve(getDataBean());
|
this.getReqService().approve(getDataBean());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user