summarylist down

This commit is contained in:
ridwan 2025-12-02 10:01:09 +07:00
parent 91cfb48568
commit c43e7f389c
3 changed files with 6 additions and 0 deletions

View File

@ -299,6 +299,7 @@ public class ReportingController {
response.setContentType("application/pdf"); response.setContentType("application/pdf");
JasperExportManager.exportReportToPdfStream(jasperPrint, response.getOutputStream()); JasperExportManager.exportReportToPdfStream(jasperPrint, response.getOutputStream());
} }
/*
@RequestMapping(value = {"/summary-list/{nocm}"}, method = {RequestMethod.GET}) @RequestMapping(value = {"/summary-list/{nocm}"}, method = {RequestMethod.GET})
public void exportSummaryList(@PathVariable("nocm") String nocm, public void exportSummaryList(@PathVariable("nocm") String nocm,
@ -307,6 +308,7 @@ public class ReportingController {
response.setContentType("application/pdf"); response.setContentType("application/pdf");
JasperExportManager.exportReportToPdfStream(jasperPrint, response.getOutputStream()); JasperExportManager.exportReportToPdfStream(jasperPrint, response.getOutputStream());
} }
*/
@RequestMapping(value = {"/lap-amprahan-tindakan"}, method = {RequestMethod.GET}) @RequestMapping(value = {"/lap-amprahan-tindakan"}, method = {RequestMethod.GET})
public void exportAmprahanTindakan(@RequestParam("idRu") int idRu, public void exportAmprahanTindakan(@RequestParam("idRu") int idRu,

View File

@ -422,6 +422,7 @@ public class ReportingDao {
} }
return null; return null;
} }
/*
public JasperPrint exportPdfSummaryList(String nocm) { public JasperPrint exportPdfSummaryList(String nocm) {
try (Connection conn = this.jdbcTemplate1.getDataSource().getConnection()) { try (Connection conn = this.jdbcTemplate1.getDataSource().getConnection()) {
@ -436,6 +437,7 @@ public class ReportingDao {
} }
return null; return null;
} }
*/
public JasperPrint exportPdfAmprahanTindakan(int idRu, Date tglAwal, Date tglAkhir) { public JasperPrint exportPdfAmprahanTindakan(int idRu, Date tglAwal, Date tglAkhir) {
try (Connection conn = this.jdbcTemplate1.getDataSource().getConnection()) { try (Connection conn = this.jdbcTemplate1.getDataSource().getConnection()) {

View File

@ -145,11 +145,13 @@ public class ReportingService {
log.info("Starting exportPdfResumeMedis with norec: {}", norec); log.info("Starting exportPdfResumeMedis with norec: {}", norec);
return this.reportingDao.exportPdfResumeMedis(norec); return this.reportingDao.exportPdfResumeMedis(norec);
} }
/*
public JasperPrint exportPdfSummaryList(String nocm) { public JasperPrint exportPdfSummaryList(String nocm) {
log.info("Starting exportPdfSummaryList with nocm: {}", nocm); log.info("Starting exportPdfSummaryList with nocm: {}", nocm);
return this.reportingDao.exportPdfSummaryList(nocm); return this.reportingDao.exportPdfSummaryList(nocm);
} }
*/
public JasperPrint printPdfAmprahanTindakan(int idRu, String tglAwal, String tglAkhir) { public JasperPrint printPdfAmprahanTindakan(int idRu, String tglAwal, String tglAkhir) {
log.info("Starting printPdfAmprahanTindakan with idRu: {}, tglAwal: {}, tglAkhir: {}", idRu, tglAwal, tglAkhir); log.info("Starting printPdfAmprahanTindakan with idRu: {}, tglAwal: {}, tglAkhir: {}", idRu, tglAwal, tglAkhir);