소스 정리

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

@ -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) {

@ -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) {

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

@ -88,7 +88,6 @@ public class ImportServiceBean extends AbstractServiceBean implements ImportServ
HashMap<String, Object> 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");

@ -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<DataObject> list = crdnService.getCrackdownList(query.setFetchSize(0));

@ -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<DataObject> list = crdnService.getCrackdownList(query.setFetchSize(0));

@ -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();

@ -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();

@ -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();

@ -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();

@ -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<String,Object> 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<String,Object> 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<String,Object> result = hwpWriter.makeFileFromHwpFormat("info", printOption, dataObjectList);
mav.addAllObjects(result);

Loading…
Cancel
Save