|
|
@ -58,15 +58,14 @@ public class Crdn01ServiceBean extends AbstractServiceBean implements CrdnServic
|
|
|
|
return crdn01Bean.removeCivilComplaint(crdnIDs);
|
|
|
|
return crdn01Bean.removeCivilComplaint(crdnIDs);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public ModelAndView makeFileFromHwpFormat(CrdnQuery crdnQuery) {
|
|
|
|
public ModelAndView makeFileFromHwpFormat(CrdnQuery crdnQuery, String formatFilePath) {
|
|
|
|
|
|
|
|
|
|
|
|
crdnQuery.setView("hwp");
|
|
|
|
crdnQuery.setView("hwp");
|
|
|
|
DataObject dataObject = crdn01Bean.getCivilComplaintOriginalInfo(crdnQuery);
|
|
|
|
DataObject dataObject = crdn01Bean.getCivilComplaintOriginalInfo(crdnQuery);
|
|
|
|
SimpleDateFormat ymdhmsFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
SimpleDateFormat ymdhmsFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
SimpleDateFormat ymdFormat = new SimpleDateFormat("yyyyMMdd");
|
|
|
|
SimpleDateFormat ymdFormat = new SimpleDateFormat("yyyyMMdd");
|
|
|
|
SimpleDateFormat ymdHypenFormat = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
|
SimpleDateFormat ymdHypenFormat = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
|
|
|
|
|
|
|
|
|
String formatFilePath = "files" + File.separator + "format" + File.separator + "cvlcptOrgnl.hwp";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HWPFile hwpFile;
|
|
|
|
HWPFile hwpFile;
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
hwpFile = HWPReader.fromFile(formatFilePath);
|
|
|
|
hwpFile = HWPReader.fromFile(formatFilePath);
|
|
|
|