update bukti layanan
This commit is contained in:
parent
b84b0fe0d7
commit
6499b925ed
@ -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,
|
||||
|
||||
@ -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()) {
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user