add api cetak approval
This commit is contained in:
parent
f1f071b512
commit
37a06b00f1
@ -42,6 +42,7 @@ public class Drp extends BaseEntity {
|
|||||||
private Date direkturApproveDate;
|
private Date direkturApproveDate;
|
||||||
|
|
||||||
@Column(name = "is_print")
|
@Column(name = "is_print")
|
||||||
|
@Type(type = "org.hibernate.type.NumericBooleanType")
|
||||||
private Boolean isPrint;
|
private Boolean isPrint;
|
||||||
|
|
||||||
@Column(name = "print_date")
|
@Column(name = "print_date")
|
||||||
|
@ -32,6 +32,7 @@ public class GetListPrintDrpService implements BaseService<PrintDrpRequest, GetL
|
|||||||
for (DrpView drpView : drpViews) {
|
for (DrpView drpView : drpViews) {
|
||||||
PrintDrpResponse printDrpResponse = PrintDrpResponse.builder()
|
PrintDrpResponse printDrpResponse = PrintDrpResponse.builder()
|
||||||
.id(drpView.getId())
|
.id(drpView.getId())
|
||||||
|
.tahun(drpView.getTahun())
|
||||||
.printDate(drpView.getPrintDate())
|
.printDate(drpView.getPrintDate())
|
||||||
.build();
|
.build();
|
||||||
if (BooleanUtils.isTrue(drpView.getIsPrint())) {
|
if (BooleanUtils.isTrue(drpView.getIsPrint())) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user