소스 정리

main
이범준 8 months ago
parent 86df91b8a9
commit d57d192202

@ -101,7 +101,7 @@ public class ExtrStngBean extends AbstractComponent {
if(!updateList.isEmpty()) { if(!updateList.isEmpty()) {
for(ExtrArtclStng update : updateList) { for(ExtrArtclStng update : updateList) {
update.setModifiedBy(userId); update.setModifiedBy(userId);
int u = extrStngMapper.updateArtclStng(update); extrStngMapper.updateArtclStng(update);
updateKeyList.add(update.getExtrFormId()); updateKeyList.add(update.getExtrFormId());
} }
} }
@ -112,12 +112,12 @@ public class ExtrStngBean extends AbstractComponent {
extrForm.setExtrFormIDs(updateKeyList.toArray(new String[updateKeyList.size()])); extrForm.setExtrFormIDs(updateKeyList.toArray(new String[updateKeyList.size()]));
} }
extrForm.setModifiedBy(userId); extrForm.setModifiedBy(userId);
int d = extrStngMapper.deleteArtclStng(extrForm); extrStngMapper.deleteArtclStng(extrForm);
if(!insertList.isEmpty()) { if(!insertList.isEmpty()) {
for(ExtrArtclStng insert : insertList) { for(ExtrArtclStng insert : insertList) {
insert.setCreatedBy(userId); insert.setCreatedBy(userId);
int i = extrStngMapper.insertArtclStng(insert); extrStngMapper.insertArtclStng(insert);
} }
} }
} catch (Exception e) { } catch (Exception e) {

@ -116,7 +116,7 @@ public class OtptStngBean extends AbstractComponent {
if(!updateList.isEmpty()) { if(!updateList.isEmpty()) {
for(OtptArtclStng update : updateList) { for(OtptArtclStng update : updateList) {
update.setModifiedBy(userId); update.setModifiedBy(userId);
int u = otptStngMapper.updateArtclStng(update); otptStngMapper.updateArtclStng(update);
updateKeyList.add(update.getOtptFormId()); updateKeyList.add(update.getOtptFormId());
} }
} }
@ -127,12 +127,12 @@ public class OtptStngBean extends AbstractComponent {
otptForm.setOtptFormIDs(updateKeyList.toArray(new String[updateKeyList.size()])); otptForm.setOtptFormIDs(updateKeyList.toArray(new String[updateKeyList.size()]));
} }
otptForm.setModifiedBy(userId); otptForm.setModifiedBy(userId);
int d = otptStngMapper.deleteArtclStng(otptForm); otptStngMapper.deleteArtclStng(otptForm);
if(!insertList.isEmpty()) { if(!insertList.isEmpty()) {
for(OtptArtclStng insert : insertList) { for(OtptArtclStng insert : insertList) {
insert.setCreatedBy(userId); insert.setCreatedBy(userId);
int i = otptStngMapper.insertArtclStng(insert); otptStngMapper.insertArtclStng(insert);
} }
} }
} catch (Exception e) { } catch (Exception e) {

@ -206,7 +206,6 @@ public class StngController extends ApplicationController {
String sggNm = sgg.string("NAME"); String sggNm = sgg.string("NAME");
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM054","FIM047","FIM078"); Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM054","FIM047","FIM078");
List<CommonCode> FIM047 = commonCodes.get("FIM047");
List<CommonCode> FIM054 = commonCodes.get("FIM054"); List<CommonCode> FIM054 = commonCodes.get("FIM054");

@ -88,7 +88,6 @@ public class ImportServiceBean extends AbstractServiceBean implements ImportServ
HashMap<String, Object> resultMap = new HashMap<>(); HashMap<String, Object> resultMap = new HashMap<>();
boolean saved = false; boolean saved = false;
String workPath = processInfo.get("workPath"); String workPath = processInfo.get("workPath");
String institute = processInfo.get("institute");
String taskSeCd = processInfo.get("taskSeCd"); String taskSeCd = processInfo.get("taskSeCd");
String fileGroupType = processInfo.get("fileGroupType"); String fileGroupType = processInfo.get("fileGroupType");

@ -105,7 +105,6 @@ public class Crdn02Controller extends ApplicationController {
CellStyle center = xlsx.cellStyle(Styler.CENTER); CellStyle center = xlsx.cellStyle(Styler.CENTER);
CellStyle numeric = xlsx.n_nn0(); CellStyle numeric = xlsx.n_nn0();
CellStyle dateYMD = xlsx.yyyy_mm_dd();
CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss(); CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss();
List<DataObject> list = crdnService.getCrackdownList(query.setFetchSize(0)); List<DataObject> list = crdnService.getCrackdownList(query.setFetchSize(0));

@ -87,7 +87,6 @@ public class Crdn03Controller extends ApplicationController {
CellStyle center = xlsx.cellStyle(Styler.CENTER); CellStyle center = xlsx.cellStyle(Styler.CENTER);
CellStyle numeric = xlsx.n_nn0(); CellStyle numeric = xlsx.n_nn0();
CellStyle dateYMD = xlsx.yyyy_mm_dd();
CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss(); CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss();
List<DataObject> list = crdnService.getCrackdownList(query.setFetchSize(0)); List<DataObject> list = crdnService.getCrackdownList(query.setFetchSize(0));

@ -83,7 +83,6 @@ public class Crdn08Controller extends ApplicationController {
.worksheet(0); .worksheet(0);
CellStyle center = xlsx.cellStyle(Styler.CENTER); CellStyle center = xlsx.cellStyle(Styler.CENTER);
CellStyle numeric = xlsx.n_nn0();
CellStyle dateYMD = xlsx.yyyy_mm_dd(); CellStyle dateYMD = xlsx.yyyy_mm_dd();
CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss(); CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss();

@ -125,7 +125,6 @@ public class Cvlc01Controller extends ApplicationController {
.worksheet(0); .worksheet(0);
CellStyle center = xlsx.cellStyle(Styler.CENTER); CellStyle center = xlsx.cellStyle(Styler.CENTER);
CellStyle numeric = xlsx.n_nn0();
CellStyle dateYMD = xlsx.yyyy_mm_dd(); CellStyle dateYMD = xlsx.yyyy_mm_dd();
CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss(); CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss();

@ -107,7 +107,6 @@ public class Cvlc02Controller extends ApplicationController {
.worksheet(0); .worksheet(0);
CellStyle center = xlsx.cellStyle(Styler.CENTER); CellStyle center = xlsx.cellStyle(Styler.CENTER);
CellStyle numeric = xlsx.n_nn0();
CellStyle dateYMD = xlsx.yyyy_mm_dd(); CellStyle dateYMD = xlsx.yyyy_mm_dd();
CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss(); CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss();

@ -88,7 +88,6 @@ public class Cvlc03Controller extends ApplicationController {
.worksheet(0); .worksheet(0);
CellStyle center = xlsx.cellStyle(Styler.CENTER); CellStyle center = xlsx.cellStyle(Styler.CENTER);
CellStyle numeric = xlsx.n_nn0();
CellStyle dateYMD = xlsx.yyyy_mm_dd(); CellStyle dateYMD = xlsx.yyyy_mm_dd();
CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss(); CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss();

@ -462,9 +462,6 @@ public class Sprt01Controller extends ApplicationController {
print.setPrintRequestUserInfo(userInfo); print.setPrintRequestUserInfo(userInfo);
hwpWriter.setPrint(print); hwpWriter.setPrint(print);
DataObject sggStngInfo = stngBean.getStng("sgg");
DataObject deptStngInfo = stngBean.getStng("dept");
hwpWriter.setFormat(new CrdnList()); hwpWriter.setFormat(new CrdnList());
Map<String,Object> result = hwpWriter.makeFileFromHwpFormat("list", printOption, dataObjectList); Map<String,Object> result = hwpWriter.makeFileFromHwpFormat("list", printOption, dataObjectList);
@ -512,9 +509,6 @@ public class Sprt01Controller extends ApplicationController {
print.setPrintRequestUserInfo(userInfo); print.setPrintRequestUserInfo(userInfo);
hwpWriter.setPrint(print); hwpWriter.setPrint(print);
DataObject sggStngInfo = stngBean.getStng("sgg");
DataObject deptStngInfo = stngBean.getStng("dept");
hwpWriter.setFormat(new CrdnConfirm()); hwpWriter.setFormat(new CrdnConfirm());
Map<String,Object> result = hwpWriter.makeFileFromHwpFormat("info", printOption, dataObjectList); Map<String,Object> result = hwpWriter.makeFileFromHwpFormat("info", printOption, dataObjectList);
@ -655,9 +649,6 @@ public class Sprt01Controller extends ApplicationController {
print.setPrintRequestUserInfo(userInfo); print.setPrintRequestUserInfo(userInfo);
hwpWriter.setPrint(print); hwpWriter.setPrint(print);
DataObject sggStngInfo = stngBean.getStng("sgg");
DataObject deptStngInfo = stngBean.getStng("dept");
hwpWriter.setFormat(new RcvmtConfirm()); hwpWriter.setFormat(new RcvmtConfirm());
Map<String,Object> result = hwpWriter.makeFileFromHwpFormat("info", printOption, dataObjectList); Map<String,Object> result = hwpWriter.makeFileFromHwpFormat("info", printOption, dataObjectList);
mav.addAllObjects(result); mav.addAllObjects(result);

Loading…
Cancel
Save