|
@@ -296,6 +296,7 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
Cell cell6 = row.createCell(5);
|
|
|
Cell cell7 = row.createCell(6);
|
|
|
Cell cell8 = row.createCell(7);
|
|
|
+ Cell cell9 = row.createCell(8);
|
|
|
|
|
|
|
|
|
cell1.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
@@ -306,16 +307,18 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
cell6.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
cell7.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
cell8.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
+ cell9.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
|
|
|
|
|
|
sheet1.setColumnWidth( 0, 10000); //생활치료센터명
|
|
|
sheet1.setColumnWidth( 1, 6000); //소관
|
|
|
sheet1.setColumnWidth( 2, 6000); //환자인원
|
|
|
sheet1.setColumnWidth( 3, 6000); //입소
|
|
|
- sheet1.setColumnWidth( 4, 12000); //퇴실소계
|
|
|
+ sheet1.setColumnWidth( 4, 15000); //퇴실소계
|
|
|
sheet1.setColumnWidth( 5, 6000); //퇴소
|
|
|
sheet1.setColumnWidth( 6, 6000); //지정병원이송
|
|
|
- sheet1.setColumnWidth( 7, 6000); //재택치료전환
|
|
|
+ sheet1.setColumnWidth( 7, 6000); //생치센터이송
|
|
|
+ sheet1.setColumnWidth( 8, 6000); //자가격리
|
|
|
|
|
|
|
|
|
cell1.setCellValue("생활치료센터명");
|
|
@@ -330,11 +333,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,7));
|
|
|
+ sheet1.addMergedRegion(new CellRangeAddress(0,0,5,8));
|
|
|
|
|
|
|
|
|
row = sheet1.createRow(i);
|
|
@@ -346,6 +349,7 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
cell6 = row.createCell(5);
|
|
|
cell7 = row.createCell(6);
|
|
|
cell8 = row.createCell(7);
|
|
|
+ cell9 = row.createCell(8);
|
|
|
|
|
|
cell1.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
cell2.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
@@ -355,10 +359,12 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
cell6.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
cell7.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
cell8.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
+ cell9.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
|
|
|
cell6.setCellValue( "퇴소" );
|
|
|
cell7.setCellValue( "지정병원이송" );
|
|
|
- cell8.setCellValue( "재택치료전환" );
|
|
|
+ cell8.setCellValue( "생치센터이송" );
|
|
|
+ cell9.setCellValue( "자가격리" );
|
|
|
|
|
|
i++;
|
|
|
// th영역 끝
|
|
@@ -389,6 +395,7 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
cell6 = row.createCell(5);
|
|
|
cell7 = row.createCell(6);
|
|
|
cell8 = row.createCell(7);
|
|
|
+ cell9 = row.createCell(8);
|
|
|
|
|
|
styleOfBoardFillFontBlackBold17.setAlignment(CellStyle.ALIGN_RIGHT);
|
|
|
cell1.setCellStyle(styleOfBoardFillFontBlackBold18);
|
|
@@ -399,15 +406,17 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
cell6.setCellStyle(styleOfBoardFillFontBlackBold19);
|
|
|
cell7.setCellStyle(styleOfBoardFillFontBlackBold19);
|
|
|
cell8.setCellStyle(styleOfBoardFillFontBlackBold19);
|
|
|
+ cell9.setCellStyle(styleOfBoardFillFontBlackBold19);
|
|
|
|
|
|
cell1.setCellValue( dto.getCenterName() );
|
|
|
cell2.setCellValue( dto.getJurisdictionName() );
|
|
|
- cell3.setCellValue( dto.gethTotal() + dto.getdTotal() + dto.gettTotal() + dto.getsTotal() );
|
|
|
+ cell3.setCellValue( dto.gethTotal() + dto.getdTotal() + dto.gettTotal() + dto.getlTotal() + dto.getsTotal() );
|
|
|
cell4.setCellValue( dto.gethTotal() );
|
|
|
- cell5.setCellValue( dto.getdTotal() + dto.gettTotal() + dto.getsTotal() );
|
|
|
- cell6.setCellValue( dto.getdTotal() );
|
|
|
- cell7.setCellValue( dto.gettTotal() );
|
|
|
- cell8.setCellValue( dto.getsTotal() );
|
|
|
+ cell5.setCellValue( dto.getdTotal() + dto.gettTotal() + dto.getlTotal() + dto.getsTotal() );
|
|
|
+ cell6.setCellValue( dto.getdTotal() ); // 퇴소
|
|
|
+ cell7.setCellValue( dto.gettTotal() ); // 지정병원이송
|
|
|
+ cell8.setCellValue( dto.getlTotal() ); // 생치센터이송
|
|
|
+ cell9.setCellValue( dto.getsTotal() ); // 자가격리
|
|
|
|
|
|
i++;
|
|
|
}
|
|
@@ -421,6 +430,7 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
cell6 = row.createCell(7);
|
|
|
cell7 = row.createCell(8);
|
|
|
cell8 = row.createCell(9);
|
|
|
+ cell9 = row.createCell(10);
|
|
|
|
|
|
try {
|
|
|
// JBOSS에서 구동시 /home1/jboss/jboss-eap-7.3/domain/test/excel-temp 경로에 저장이됨
|
|
@@ -516,6 +526,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);
|
|
@@ -525,15 +536,17 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
cell5.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
cell6.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
cell7.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
+ cell8.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
|
|
|
|
|
|
sheet1.setColumnWidth( 0, 5000); //날짜
|
|
|
sheet1.setColumnWidth( 1, 6000); //환자인원
|
|
|
sheet1.setColumnWidth( 2, 6000); //입소
|
|
|
- sheet1.setColumnWidth( 3, 12000); //퇴실소계
|
|
|
+ sheet1.setColumnWidth( 3, 15000); //퇴실소계
|
|
|
sheet1.setColumnWidth( 4, 6000); //퇴소
|
|
|
sheet1.setColumnWidth( 5, 6000); //지정병원 이송
|
|
|
- sheet1.setColumnWidth( 6, 6000); //재택치료전환
|
|
|
+ sheet1.setColumnWidth( 6, 6000); //생치센터이송
|
|
|
+ sheet1.setColumnWidth( 6, 6000); //자가격리
|
|
|
|
|
|
|
|
|
cell1.setCellValue("날짜");
|
|
@@ -542,11 +555,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,6));
|
|
|
+ sheet1.addMergedRegion(new CellRangeAddress(0,0,4,7));
|
|
|
|
|
|
row = sheet1.createRow(i);
|
|
|
cell1 = row.createCell(0);
|
|
@@ -556,6 +569,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);
|
|
@@ -564,10 +578,12 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
cell5.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
cell6.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
cell7.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
+ cell8.setCellStyle(styleOfBoardFillFontBlackBold16);
|
|
|
|
|
|
cell5.setCellValue( "퇴소" );
|
|
|
cell6.setCellValue( "지정병원이송" );
|
|
|
- cell7.setCellValue( "재택치료전환" );
|
|
|
+ cell7.setCellValue( "생치센터이송" );
|
|
|
+ cell8.setCellValue( "자가격리" );
|
|
|
|
|
|
i++;
|
|
|
// th영역 끝
|
|
@@ -598,6 +614,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);
|
|
|
styleOfBoardFillFontBlackBold17.setVerticalAlignment(CellStyle.VERTICAL_CENTER);
|
|
@@ -610,14 +627,16 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
cell5.setCellStyle(styleOfBoardFillFontBlackBold19);
|
|
|
cell6.setCellStyle(styleOfBoardFillFontBlackBold19);
|
|
|
cell7.setCellStyle(styleOfBoardFillFontBlackBold19);
|
|
|
+ cell8.setCellStyle(styleOfBoardFillFontBlackBold19);
|
|
|
|
|
|
cell1.setCellValue( "누적" );
|
|
|
- cell2.setCellValue( sum.gethTotal() + sum.getdTotal() + sum.gettTotal() + sum.getsTotal() );
|
|
|
+ cell2.setCellValue( sum.gethTotal() + sum.getdTotal() + sum.gettTotal() + sum.getlTotal() + sum.getsTotal() );
|
|
|
cell3.setCellValue( sum.gethTotal() );
|
|
|
- cell4.setCellValue( sum.getdTotal() + sum.gettTotal() + sum.getsTotal() );
|
|
|
+ cell4.setCellValue( sum.getdTotal() + sum.gettTotal() + sum.getlTotal() + sum.getsTotal() );
|
|
|
cell5.setCellValue( sum.getdTotal() );
|
|
|
cell6.setCellValue( sum.gettTotal() );
|
|
|
- cell7.setCellValue( sum.getsTotal() );
|
|
|
+ cell7.setCellValue( sum.getlTotal() );
|
|
|
+ cell8.setCellValue( sum.getsTotal() );
|
|
|
|
|
|
i++;
|
|
|
// 누적 row 끝
|
|
@@ -634,6 +653,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);
|
|
@@ -643,14 +663,16 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
cell5.setCellStyle(styleOfBoardFillFontBlackBold19);
|
|
|
cell6.setCellStyle(styleOfBoardFillFontBlackBold19);
|
|
|
cell7.setCellStyle(styleOfBoardFillFontBlackBold19);
|
|
|
+ cell8.setCellStyle(styleOfBoardFillFontBlackBold19);
|
|
|
|
|
|
cell1.setCellValue( dto.getInDate() );
|
|
|
- cell2.setCellValue( dto.gethTotal() + dto.getdTotal() + dto.gettTotal() + dto.getsTotal() );
|
|
|
+ cell2.setCellValue( dto.gethTotal() + dto.getdTotal() + dto.gettTotal() + dto.getlTotal() + dto.getsTotal() );
|
|
|
cell3.setCellValue( dto.gethTotal() );
|
|
|
- cell4.setCellValue( dto.getdTotal() + dto.gettTotal() + dto.getsTotal() );
|
|
|
+ cell4.setCellValue( dto.getdTotal() + dto.gettTotal() + dto.getlTotal() + dto.getsTotal() );
|
|
|
cell5.setCellValue( dto.getdTotal() );
|
|
|
cell6.setCellValue( dto.gettTotal() );
|
|
|
- cell7.setCellValue( dto.getsTotal() );
|
|
|
+ cell7.setCellValue( dto.getlTotal() );
|
|
|
+ cell8.setCellValue( dto.getsTotal() );
|
|
|
|
|
|
i++;
|
|
|
}
|
|
@@ -663,6 +685,7 @@ public class PatientStatistics extends LifeCenterController {
|
|
|
cell5 = row.createCell(6);
|
|
|
cell6 = row.createCell(7);
|
|
|
cell7 = row.createCell(8);
|
|
|
+ cell8 = row.createCell(9);
|
|
|
|
|
|
try {
|
|
|
// JBOSS에서 구동시 /home1/jboss/jboss-eap-7.3/domain/test/excel-temp 경로에 저장이됨
|