add api cetak approval

This commit is contained in:
dirgantarasiahaan committed 2023-06-02 18:55:00 +07:00
1 parent f1f071b512
commit 37a06b00f1
2 files changed
+2

No files matched your search

@@ -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())) {