|
@@ -453,7 +453,7 @@ public class PatientController extends LifeCenterController {
|
|
|
List<PatientDTO> result = new ArrayList<PatientDTO>();
|
|
|
|
|
|
if (total > 0) {
|
|
|
- dto.setLimit( 1 );
|
|
|
+ dto.setLimit( 0 );
|
|
|
dto.setLimitMax( total );
|
|
|
|
|
|
result = patientService.selectPatietList(dto);
|
|
@@ -643,10 +643,11 @@ public class PatientController extends LifeCenterController {
|
|
|
cell14 = row.createCell(15);
|
|
|
|
|
|
try {
|
|
|
- File file = new File(".");
|
|
|
- String rootPath = file.getAbsolutePath();
|
|
|
- System.out.println("현재 프로젝트의 경로 : "+rootPath );
|
|
|
-
|
|
|
+// File file = new File(".");
|
|
|
+// String rootPath = file.getAbsolutePath();
|
|
|
+// System.out.println("현재 프로젝트의 경로 : "+rootPath );
|
|
|
+
|
|
|
+ // JBOSS에서 구동시 /home1/jboss/jboss-eap-7.3/domain/test/excel-temp 경로에 저장이됨
|
|
|
String tempPath = "../excel-temp/testExcel.xlsx";
|
|
|
String downName = LifeCenterFunction.getNow() + " 환자리스트.xlsx";
|
|
|
File xlsFile = new File(tempPath);
|