update bukti layanan

This commit is contained in:
ridwan 2025-11-26 15:12:55 +07:00
parent b84b0fe0d7
commit 6499b925ed
3 changed files with 2 additions and 8 deletions

View File

@ -336,17 +336,15 @@ public class ReportingController {
response.setContentType("application/pdf");
JasperExportManager.exportReportToPdfStream(jasperPrint, response.getOutputStream());
}
/*
@RequestMapping(value = {"/bukti-layanan-farmasi/{norec}/{user}"}, method = {RequestMethod.GET})
@RequestMapping(value = {"/bukti-layanan-farmasi/{norec}"}, method = {RequestMethod.GET})
public void exportPdfBuktiLayanan(@PathVariable("norec") String norec,
@PathVariable("user") String user,
@RequestParam(value = "user", required = false, defaultValue = "") String user,
ModelAndView mv, HttpServletResponse response) throws Exception {
JasperPrint jasperPrint = this.reportingService.exportPdfBuktiLayanan(norec, user);
response.setContentType("application/pdf");
JasperExportManager.exportReportToPdfStream(jasperPrint, response.getOutputStream());
}
*/
@RequestMapping(value = {"/bukti-nonlayanan-farmasi/{norec}"}, method = {RequestMethod.GET})
public void exportPdfBuktiNoLayanFarmasi(@PathVariable("norec") String norec,

View File

@ -620,7 +620,6 @@ public class ReportingDao {
}
return null;
}
/*
public JasperPrint exportPdfBuktiLayanan(String norec, String user) {
try (Connection conn = this.jdbcTemplate1.getDataSource().getConnection()) {
@ -636,7 +635,6 @@ public class ReportingDao {
}
return null;
}
*/
public JasperPrint exportPdfBuktiNoLayanFarmasi(String norec) {
try (Connection conn = this.jdbcTemplate1.getDataSource().getConnection()) {

View File

@ -175,12 +175,10 @@ public class ReportingService {
return this.reportingDao.exportPdfSppb(norec);
}
}
/*
public JasperPrint exportPdfBuktiLayanan(String norec, String user) {
return this.reportingDao.exportPdfBuktiLayanan(norec, user);
}
*/
public JasperPrint exportPdfBuktiNoLayanFarmasi(String norec) {
return this.reportingDao.exportPdfBuktiNoLayanFarmasi(norec);