update priode
This commit is contained in:
parent
b4316dbdb0
commit
6b4497248f
@ -1223,7 +1223,7 @@ public class ReportingDao {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public JasperPrint exportLpSatuSehat(Date tglAwal, Date tglAkhir, Integer idInstalasi, Integer idUnit, Integer idRuangan, Integer idPegawai, String printBy) {
|
public JasperPrint exportLpSatuSehat(String tglAwal, String tglAkhir, Integer idInstalasi, Integer idUnit, Integer idRuangan, Integer idPegawai, String printBy) {
|
||||||
try (Connection conn = this.jdbcTemplate1.getDataSource().getConnection()) {
|
try (Connection conn = this.jdbcTemplate1.getDataSource().getConnection()) {
|
||||||
String path = jaspersim2DirPath + "laporan_satusehat.jrxml";
|
String path = jaspersim2DirPath + "laporan_satusehat.jrxml";
|
||||||
JasperReport jasperReport = JasperCompileManager.compileReport(path);
|
JasperReport jasperReport = JasperCompileManager.compileReport(path);
|
||||||
|
|||||||
@ -402,7 +402,7 @@ public class ReportingService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public JasperPrint exportLpSatuSehat(String tglAwal, String tglAkhir, Integer idInstalasi, Integer idUnit, Integer idRuangan, Integer idPegawai, String printBy) {
|
/*public JasperPrint exportLpSatuSehat(String tglAwal, String tglAkhir, Integer idInstalasi, Integer idUnit, Integer idRuangan, Integer idPegawai, String printBy) {
|
||||||
try {
|
try {
|
||||||
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
|
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
|
||||||
Date parse = formatter.parse(tglAwal);
|
Date parse = formatter.parse(tglAwal);
|
||||||
@ -413,6 +413,10 @@ public class ReportingService {
|
|||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
}*/
|
||||||
|
|
||||||
|
public JasperPrint exportLpSatuSehat(String tglAwal, String tglAkhir, Integer idInstalasi, Integer idUnit, Integer idRuangan, Integer idPegawai, String printBy) {
|
||||||
|
return this.reportingDao.exportLpSatuSehat(tglAwal, tglAkhir, idInstalasi, idUnit, idRuangan, idPegawai, printBy);
|
||||||
}
|
}
|
||||||
|
|
||||||
public JasperPrint exportLpTarif(Integer idInstalasi, Integer idProduk, Integer idTarif, String printBy) {
|
public JasperPrint exportLpTarif(Integer idInstalasi, Integer idProduk, Integer idTarif, String printBy) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user