From d57d1922029d1ea9dfaf463d8d76bea592ae3508 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Wed, 27 Mar 2024 09:00:44 +0900 Subject: [PATCH] =?UTF-8?q?=EC=86=8C=EC=8A=A4=20=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cokr/xit/fims/cmmn/service/bean/ExtrStngBean.java | 6 +++--- .../cokr/xit/fims/cmmn/service/bean/OtptStngBean.java | 6 +++--- src/main/java/cokr/xit/fims/cmmn/web/StngController.java | 1 - .../xit/fims/crdn/service/bean/ImportServiceBean.java | 1 - .../java/cokr/xit/fims/crdn/web/Crdn02Controller.java | 1 - .../java/cokr/xit/fims/crdn/web/Crdn03Controller.java | 1 - .../java/cokr/xit/fims/crdn/web/Crdn08Controller.java | 1 - .../java/cokr/xit/fims/cvlc/web/Cvlc01Controller.java | 1 - .../java/cokr/xit/fims/cvlc/web/Cvlc02Controller.java | 1 - .../java/cokr/xit/fims/cvlc/web/Cvlc03Controller.java | 1 - .../java/cokr/xit/fims/sprt/web/Sprt01Controller.java | 9 --------- 11 files changed, 6 insertions(+), 23 deletions(-) diff --git a/src/main/java/cokr/xit/fims/cmmn/service/bean/ExtrStngBean.java b/src/main/java/cokr/xit/fims/cmmn/service/bean/ExtrStngBean.java index cfb6b0a4..dd380474 100644 --- a/src/main/java/cokr/xit/fims/cmmn/service/bean/ExtrStngBean.java +++ b/src/main/java/cokr/xit/fims/cmmn/service/bean/ExtrStngBean.java @@ -101,7 +101,7 @@ public class ExtrStngBean extends AbstractComponent { if(!updateList.isEmpty()) { for(ExtrArtclStng update : updateList) { update.setModifiedBy(userId); - int u = extrStngMapper.updateArtclStng(update); + extrStngMapper.updateArtclStng(update); updateKeyList.add(update.getExtrFormId()); } } @@ -112,12 +112,12 @@ public class ExtrStngBean extends AbstractComponent { extrForm.setExtrFormIDs(updateKeyList.toArray(new String[updateKeyList.size()])); } extrForm.setModifiedBy(userId); - int d = extrStngMapper.deleteArtclStng(extrForm); + extrStngMapper.deleteArtclStng(extrForm); if(!insertList.isEmpty()) { for(ExtrArtclStng insert : insertList) { insert.setCreatedBy(userId); - int i = extrStngMapper.insertArtclStng(insert); + extrStngMapper.insertArtclStng(insert); } } } catch (Exception e) { diff --git a/src/main/java/cokr/xit/fims/cmmn/service/bean/OtptStngBean.java b/src/main/java/cokr/xit/fims/cmmn/service/bean/OtptStngBean.java index b5746260..20f8b7c2 100644 --- a/src/main/java/cokr/xit/fims/cmmn/service/bean/OtptStngBean.java +++ b/src/main/java/cokr/xit/fims/cmmn/service/bean/OtptStngBean.java @@ -116,7 +116,7 @@ public class OtptStngBean extends AbstractComponent { if(!updateList.isEmpty()) { for(OtptArtclStng update : updateList) { update.setModifiedBy(userId); - int u = otptStngMapper.updateArtclStng(update); + otptStngMapper.updateArtclStng(update); updateKeyList.add(update.getOtptFormId()); } } @@ -127,12 +127,12 @@ public class OtptStngBean extends AbstractComponent { otptForm.setOtptFormIDs(updateKeyList.toArray(new String[updateKeyList.size()])); } otptForm.setModifiedBy(userId); - int d = otptStngMapper.deleteArtclStng(otptForm); + otptStngMapper.deleteArtclStng(otptForm); if(!insertList.isEmpty()) { for(OtptArtclStng insert : insertList) { insert.setCreatedBy(userId); - int i = otptStngMapper.insertArtclStng(insert); + otptStngMapper.insertArtclStng(insert); } } } catch (Exception e) { diff --git a/src/main/java/cokr/xit/fims/cmmn/web/StngController.java b/src/main/java/cokr/xit/fims/cmmn/web/StngController.java index 111ea130..ee360e4e 100644 --- a/src/main/java/cokr/xit/fims/cmmn/web/StngController.java +++ b/src/main/java/cokr/xit/fims/cmmn/web/StngController.java @@ -206,7 +206,6 @@ public class StngController extends ApplicationController { String sggNm = sgg.string("NAME"); Map> commonCodes = getCodesOf("FIM054","FIM047","FIM078"); - List FIM047 = commonCodes.get("FIM047"); List FIM054 = commonCodes.get("FIM054"); diff --git a/src/main/java/cokr/xit/fims/crdn/service/bean/ImportServiceBean.java b/src/main/java/cokr/xit/fims/crdn/service/bean/ImportServiceBean.java index 6a7f84c4..7ea9ee04 100644 --- a/src/main/java/cokr/xit/fims/crdn/service/bean/ImportServiceBean.java +++ b/src/main/java/cokr/xit/fims/crdn/service/bean/ImportServiceBean.java @@ -88,7 +88,6 @@ public class ImportServiceBean extends AbstractServiceBean implements ImportServ HashMap resultMap = new HashMap<>(); boolean saved = false; String workPath = processInfo.get("workPath"); - String institute = processInfo.get("institute"); String taskSeCd = processInfo.get("taskSeCd"); String fileGroupType = processInfo.get("fileGroupType"); diff --git a/src/main/java/cokr/xit/fims/crdn/web/Crdn02Controller.java b/src/main/java/cokr/xit/fims/crdn/web/Crdn02Controller.java index ad8167aa..a6f58791 100644 --- a/src/main/java/cokr/xit/fims/crdn/web/Crdn02Controller.java +++ b/src/main/java/cokr/xit/fims/crdn/web/Crdn02Controller.java @@ -105,7 +105,6 @@ public class Crdn02Controller extends ApplicationController { CellStyle center = xlsx.cellStyle(Styler.CENTER); CellStyle numeric = xlsx.n_nn0(); - CellStyle dateYMD = xlsx.yyyy_mm_dd(); CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss(); List list = crdnService.getCrackdownList(query.setFetchSize(0)); diff --git a/src/main/java/cokr/xit/fims/crdn/web/Crdn03Controller.java b/src/main/java/cokr/xit/fims/crdn/web/Crdn03Controller.java index 6a50ede1..5d82597d 100644 --- a/src/main/java/cokr/xit/fims/crdn/web/Crdn03Controller.java +++ b/src/main/java/cokr/xit/fims/crdn/web/Crdn03Controller.java @@ -87,7 +87,6 @@ public class Crdn03Controller extends ApplicationController { CellStyle center = xlsx.cellStyle(Styler.CENTER); CellStyle numeric = xlsx.n_nn0(); - CellStyle dateYMD = xlsx.yyyy_mm_dd(); CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss(); List list = crdnService.getCrackdownList(query.setFetchSize(0)); diff --git a/src/main/java/cokr/xit/fims/crdn/web/Crdn08Controller.java b/src/main/java/cokr/xit/fims/crdn/web/Crdn08Controller.java index 36b8336f..7c3a5739 100644 --- a/src/main/java/cokr/xit/fims/crdn/web/Crdn08Controller.java +++ b/src/main/java/cokr/xit/fims/crdn/web/Crdn08Controller.java @@ -83,7 +83,6 @@ public class Crdn08Controller extends ApplicationController { .worksheet(0); CellStyle center = xlsx.cellStyle(Styler.CENTER); - CellStyle numeric = xlsx.n_nn0(); CellStyle dateYMD = xlsx.yyyy_mm_dd(); CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss(); diff --git a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc01Controller.java b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc01Controller.java index 0a76ff0d..de4c9006 100644 --- a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc01Controller.java +++ b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc01Controller.java @@ -125,7 +125,6 @@ public class Cvlc01Controller extends ApplicationController { .worksheet(0); CellStyle center = xlsx.cellStyle(Styler.CENTER); - CellStyle numeric = xlsx.n_nn0(); CellStyle dateYMD = xlsx.yyyy_mm_dd(); CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss(); diff --git a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc02Controller.java b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc02Controller.java index 4fce3351..d47da3a0 100644 --- a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc02Controller.java +++ b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc02Controller.java @@ -107,7 +107,6 @@ public class Cvlc02Controller extends ApplicationController { .worksheet(0); CellStyle center = xlsx.cellStyle(Styler.CENTER); - CellStyle numeric = xlsx.n_nn0(); CellStyle dateYMD = xlsx.yyyy_mm_dd(); CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss(); diff --git a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc03Controller.java b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc03Controller.java index 2c6cdf1e..a238a921 100644 --- a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc03Controller.java +++ b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc03Controller.java @@ -88,7 +88,6 @@ public class Cvlc03Controller extends ApplicationController { .worksheet(0); CellStyle center = xlsx.cellStyle(Styler.CENTER); - CellStyle numeric = xlsx.n_nn0(); CellStyle dateYMD = xlsx.yyyy_mm_dd(); CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss(); diff --git a/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java b/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java index 83af9000..6902a7ee 100644 --- a/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java +++ b/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java @@ -462,9 +462,6 @@ public class Sprt01Controller extends ApplicationController { print.setPrintRequestUserInfo(userInfo); hwpWriter.setPrint(print); - DataObject sggStngInfo = stngBean.getStng("sgg"); - DataObject deptStngInfo = stngBean.getStng("dept"); - hwpWriter.setFormat(new CrdnList()); Map result = hwpWriter.makeFileFromHwpFormat("list", printOption, dataObjectList); @@ -512,9 +509,6 @@ public class Sprt01Controller extends ApplicationController { print.setPrintRequestUserInfo(userInfo); hwpWriter.setPrint(print); - DataObject sggStngInfo = stngBean.getStng("sgg"); - DataObject deptStngInfo = stngBean.getStng("dept"); - hwpWriter.setFormat(new CrdnConfirm()); Map result = hwpWriter.makeFileFromHwpFormat("info", printOption, dataObjectList); @@ -655,9 +649,6 @@ public class Sprt01Controller extends ApplicationController { print.setPrintRequestUserInfo(userInfo); hwpWriter.setPrint(print); - DataObject sggStngInfo = stngBean.getStng("sgg"); - DataObject deptStngInfo = stngBean.getStng("dept"); - hwpWriter.setFormat(new RcvmtConfirm()); Map result = hwpWriter.makeFileFromHwpFormat("info", printOption, dataObjectList); mav.addAllObjects(result);