|
@@ -295,6 +295,7 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
Cell cell5 = row.createCell(4);
|
|
|
Cell cell6 = row.createCell(5);
|
|
|
Cell cell7 = row.createCell(6);
|
|
|
+ Cell cell8 = row.createCell(7);
|
|
|
|
|
|
|
|
|
cell1.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
@@ -304,15 +305,17 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
cell5.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
cell6.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
cell7.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
+ cell8.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
|
|
|
|
|
|
sheet1.setColumnWidth( 0, 10000); //생활치료센터명
|
|
|
sheet1.setColumnWidth( 1, 6000); //소관
|
|
|
sheet1.setColumnWidth( 2, 6000); //환자인원
|
|
|
sheet1.setColumnWidth( 3, 6000); //입소
|
|
|
- sheet1.setColumnWidth( 4, 9000); //퇴실소계
|
|
|
+ sheet1.setColumnWidth( 4, 12000); //퇴실소계
|
|
|
sheet1.setColumnWidth( 5, 6000); //퇴소
|
|
|
sheet1.setColumnWidth( 6, 6000); //지정병원이송
|
|
|
+ sheet1.setColumnWidth( 7, 6000); //재택치료전환
|
|
|
|
|
|
|
|
|
cell1.setCellValue("생활치료센터명");
|
|
@@ -327,11 +330,11 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
cell4.setCellValue("입소");
|
|
|
sheet1.addMergedRegion(new CellRangeAddress(0,1,3,3));
|
|
|
|
|
|
- cell5.setCellValue("퇴실소계 (퇴소 + 지정병원이송)");
|
|
|
+ cell5.setCellValue("퇴실소계 (퇴소 + 지정병원이송 + 재택치료전환)");
|
|
|
sheet1.addMergedRegion(new CellRangeAddress(0,1,4,4));
|
|
|
|
|
|
cell6.setCellValue("퇴실");
|
|
|
- sheet1.addMergedRegion(new CellRangeAddress(0,0,5,6));
|
|
|
+ sheet1.addMergedRegion(new CellRangeAddress(0,0,5,7));
|
|
|
|
|
|
|
|
|
row = sheet1.createRow(i);
|
|
@@ -342,6 +345,7 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
cell5 = row.createCell(4);
|
|
|
cell6 = row.createCell(5);
|
|
|
cell7 = row.createCell(6);
|
|
|
+ cell8 = row.createCell(7);
|
|
|
|
|
|
cell1.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
cell2.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
@@ -350,9 +354,11 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
cell5.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
cell6.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
cell7.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
+ cell8.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
|
|
|
cell6.setCellValue( "퇴소" );
|
|
|
cell7.setCellValue( "지정병원이송" );
|
|
|
+ cell8.setCellValue( "재택치료전환" );
|
|
|
|
|
|
i++;
|
|
|
// th영역 끝
|
|
@@ -382,6 +388,7 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
cell5 = row.createCell(4);
|
|
|
cell6 = row.createCell(5);
|
|
|
cell7 = row.createCell(6);
|
|
|
+ cell8 = row.createCell(7);
|
|
|
|
|
|
styleOfBoardFillFontBlackBold17.setAlignment(CellStyle.ALIGN_RIGHT);
|
|
|
cell1.setCellStyle(styleOfBoardFillFontBlackBold18);
|
|
@@ -391,14 +398,16 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
cell5.setCellStyle(styleOfBoardFillFontBlackBold19);
|
|
|
cell6.setCellStyle(styleOfBoardFillFontBlackBold19);
|
|
|
cell7.setCellStyle(styleOfBoardFillFontBlackBold19);
|
|
|
+ cell8.setCellStyle(styleOfBoardFillFontBlackBold19);
|
|
|
|
|
|
cell1.setCellValue( dto.getCenterName() );
|
|
|
cell2.setCellValue( dto.getJurisdictionName() );
|
|
|
- cell3.setCellValue( dto.gethTotal() + dto.getdTotal() + dto.gettTotal() );
|
|
|
+ cell3.setCellValue( dto.gethTotal() + dto.getdTotal() + dto.gettTotal() + dto.getsTotal() );
|
|
|
cell4.setCellValue( dto.gethTotal() );
|
|
|
- cell5.setCellValue( dto.getdTotal() + dto.gettTotal() );
|
|
|
+ cell5.setCellValue( dto.getdTotal() + dto.gettTotal() + dto.getsTotal() );
|
|
|
cell6.setCellValue( dto.getdTotal() );
|
|
|
cell7.setCellValue( dto.gettTotal() );
|
|
|
+ cell8.setCellValue( dto.getsTotal() );
|
|
|
|
|
|
i++;
|
|
|
}
|
|
@@ -410,7 +419,8 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
cell4 = row.createCell(5);
|
|
|
cell5 = row.createCell(6);
|
|
|
cell6 = row.createCell(7);
|
|
|
- cell7 = row.createCell(7);
|
|
|
+ cell7 = row.createCell(8);
|
|
|
+ cell8 = row.createCell(9);
|
|
|
|
|
|
try {
|
|
|
// JBOSS에서 구동시 /home1/jboss/jboss-eap-7.3/domain/test/excel-temp 경로에 저장이됨
|
|
@@ -505,6 +515,7 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
Cell cell4 = row.createCell(3);
|
|
|
Cell cell5 = row.createCell(4);
|
|
|
Cell cell6 = row.createCell(5);
|
|
|
+ Cell cell7 = row.createCell(6);
|
|
|
|
|
|
|
|
|
cell1.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
@@ -513,14 +524,16 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
cell4.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
cell5.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
cell6.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
+ cell7.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
|
|
|
|
|
|
sheet1.setColumnWidth( 0, 5000); //날짜
|
|
|
sheet1.setColumnWidth( 1, 6000); //환자인원
|
|
|
sheet1.setColumnWidth( 2, 6000); //입소
|
|
|
- sheet1.setColumnWidth( 3, 8000); //퇴실소계
|
|
|
+ sheet1.setColumnWidth( 3, 12000); //퇴실소계
|
|
|
sheet1.setColumnWidth( 4, 6000); //퇴소
|
|
|
sheet1.setColumnWidth( 5, 6000); //지정병원 이송
|
|
|
+ sheet1.setColumnWidth( 6, 6000); //재택치료전환
|
|
|
|
|
|
|
|
|
cell1.setCellValue("날짜");
|
|
@@ -529,11 +542,11 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
sheet1.addMergedRegion(new CellRangeAddress(0,1,1,1));
|
|
|
cell3.setCellValue("입소");
|
|
|
sheet1.addMergedRegion(new CellRangeAddress(0,1,2,2));
|
|
|
- cell4.setCellValue("퇴실소계 (퇴소 + 지정병원이송)");
|
|
|
+ cell4.setCellValue("퇴실소계 (퇴소 + 지정병원이송 + 재택치료전환)");
|
|
|
sheet1.addMergedRegion(new CellRangeAddress(0,1,3,3));
|
|
|
|
|
|
cell5.setCellValue("퇴실");
|
|
|
- sheet1.addMergedRegion(new CellRangeAddress(0,0,4,5));
|
|
|
+ sheet1.addMergedRegion(new CellRangeAddress(0,0,4,6));
|
|
|
|
|
|
row = sheet1.createRow(i);
|
|
|
cell1 = row.createCell(0);
|
|
@@ -542,6 +555,7 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
cell4 = row.createCell(3);
|
|
|
cell5 = row.createCell(4);
|
|
|
cell6 = row.createCell(5);
|
|
|
+ cell7 = row.createCell(6);
|
|
|
|
|
|
cell1.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
cell2.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
@@ -549,9 +563,11 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
cell4.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
cell5.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
cell6.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
+ cell7.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
|
|
|
cell5.setCellValue( "퇴소" );
|
|
|
cell6.setCellValue( "지정병원이송" );
|
|
|
+ cell7.setCellValue( "재택치료전환" );
|
|
|
|
|
|
i++;
|
|
|
// th영역 끝
|
|
@@ -581,6 +597,7 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
cell4 = row.createCell(3);
|
|
|
cell5 = row.createCell(4);
|
|
|
cell6 = row.createCell(5);
|
|
|
+ cell7 = row.createCell(6);
|
|
|
|
|
|
styleOfBoardFillFontBlackBold17.setAlignment(CellStyle.ALIGN_RIGHT);
|
|
|
styleOfBoardFillFontBlackBold17.setVerticalAlignment(CellStyle.VERTICAL_CENTER);
|
|
@@ -592,13 +609,15 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
cell4.setCellStyle(styleOfBoardFillFontBlackBold17);
|
|
|
cell5.setCellStyle(styleOfBoardFillFontBlackBold19);
|
|
|
cell6.setCellStyle(styleOfBoardFillFontBlackBold19);
|
|
|
+ cell7.setCellStyle(styleOfBoardFillFontBlackBold19);
|
|
|
|
|
|
cell1.setCellValue( "누적" );
|
|
|
- cell2.setCellValue( sum.gethTotal() + sum.getdTotal() + sum.gettTotal() );
|
|
|
+ cell2.setCellValue( sum.gethTotal() + sum.getdTotal() + sum.gettTotal() + sum.getsTotal() );
|
|
|
cell3.setCellValue( sum.gethTotal() );
|
|
|
- cell4.setCellValue( sum.getdTotal() + sum.gettTotal() );
|
|
|
+ cell4.setCellValue( sum.getdTotal() + sum.gettTotal() + sum.getsTotal() );
|
|
|
cell5.setCellValue( sum.getdTotal() );
|
|
|
cell6.setCellValue( sum.gettTotal() );
|
|
|
+ cell7.setCellValue( sum.getsTotal() );
|
|
|
|
|
|
i++;
|
|
|
// 누적 row 끝
|
|
@@ -614,6 +633,7 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
cell4 = row.createCell(3);
|
|
|
cell5 = row.createCell(4);
|
|
|
cell6 = row.createCell(5);
|
|
|
+ cell7 = row.createCell(6);
|
|
|
|
|
|
styleOfBoardFillFontBlackBold17.setAlignment(CellStyle.ALIGN_RIGHT);
|
|
|
cell1.setCellStyle(styleOfBoardFillFontBlackBold18);
|
|
@@ -622,13 +642,15 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
cell4.setCellStyle(styleOfBoardFillFontBlackBold17);
|
|
|
cell5.setCellStyle(styleOfBoardFillFontBlackBold19);
|
|
|
cell6.setCellStyle(styleOfBoardFillFontBlackBold19);
|
|
|
+ cell7.setCellStyle(styleOfBoardFillFontBlackBold19);
|
|
|
|
|
|
cell1.setCellValue( dto.getInDate() );
|
|
|
- cell2.setCellValue( dto.gethTotal() + dto.getdTotal() + dto.gettTotal() );
|
|
|
+ cell2.setCellValue( dto.gethTotal() + dto.getdTotal() + dto.gettTotal() + dto.getsTotal() );
|
|
|
cell3.setCellValue( dto.gethTotal() );
|
|
|
- cell4.setCellValue( dto.getdTotal() + dto.gettTotal() );
|
|
|
+ cell4.setCellValue( dto.getdTotal() + dto.gettTotal() + dto.getsTotal() );
|
|
|
cell5.setCellValue( dto.getdTotal() );
|
|
|
cell6.setCellValue( dto.gettTotal() );
|
|
|
+ cell7.setCellValue( dto.getsTotal() );
|
|
|
|
|
|
i++;
|
|
|
}
|
|
@@ -640,6 +662,7 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
cell4 = row.createCell(5);
|
|
|
cell5 = row.createCell(6);
|
|
|
cell6 = row.createCell(7);
|
|
|
+ cell7 = row.createCell(8);
|
|
|
|
|
|
try {
|
|
|
// JBOSS에서 구동시 /home1/jboss/jboss-eap-7.3/domain/test/excel-temp 경로에 저장이됨
|