|
|
@ -442,7 +442,7 @@ public class Sprt01Controller extends ApplicationController {
|
|
|
|
|
|
|
|
|
|
|
|
CrdnQuery query = new CrdnQuery();
|
|
|
|
CrdnQuery query = new CrdnQuery();
|
|
|
|
query.setCrdnIds(crdnIds);
|
|
|
|
query.setCrdnIds(crdnIds);
|
|
|
|
List<DataObject> DataObjectList = crdnListMapper.selectCrackdownList(query);
|
|
|
|
List<DataObject> dataObjectList = crdnListMapper.selectCrackdownList(query);
|
|
|
|
HWPWriter hwpWriter = new HWPWriter();
|
|
|
|
HWPWriter hwpWriter = new HWPWriter();
|
|
|
|
UserInfo userInfo = currentUser();
|
|
|
|
UserInfo userInfo = currentUser();
|
|
|
|
factionBean.initUserInfo(userInfo);
|
|
|
|
factionBean.initUserInfo(userInfo);
|
|
|
@ -454,10 +454,12 @@ public class Sprt01Controller extends ApplicationController {
|
|
|
|
DataObject deptStngInfo = stngBean.getStng("dept");
|
|
|
|
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);
|
|
|
|
|
|
|
|
|
|
|
|
ModelAndView mav = new ModelAndView("downloadView");
|
|
|
|
ModelAndView mav = new ModelAndView("downloadView");
|
|
|
|
mav.addAllObjects(result);
|
|
|
|
mav.addAllObjects(result);
|
|
|
|
|
|
|
|
mav.addObject("downloadData", dataObjectList);
|
|
|
|
|
|
|
|
mav.addObject("dataNames", hwpWriter.getFormat().getDownloadDataNames());
|
|
|
|
return mav;
|
|
|
|
return mav;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -507,6 +509,8 @@ public class Sprt01Controller extends ApplicationController {
|
|
|
|
|
|
|
|
|
|
|
|
ModelAndView mav = new ModelAndView("downloadView");
|
|
|
|
ModelAndView mav = new ModelAndView("downloadView");
|
|
|
|
mav.addAllObjects(result);
|
|
|
|
mav.addAllObjects(result);
|
|
|
|
|
|
|
|
mav.addObject("downloadData", dataObjectList);
|
|
|
|
|
|
|
|
mav.addObject("dataNames", hwpWriter.getFormat().getDownloadDataNames());
|
|
|
|
return mav;
|
|
|
|
return mav;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -564,6 +568,8 @@ public class Sprt01Controller extends ApplicationController {
|
|
|
|
hwpWriter.setFormat(new RequestForDelivery());
|
|
|
|
hwpWriter.setFormat(new RequestForDelivery());
|
|
|
|
Map<String,Object> result = hwpWriter.makeFileFromHwpFormat("list", printOption, dataObjectList);
|
|
|
|
Map<String,Object> result = hwpWriter.makeFileFromHwpFormat("list", printOption, dataObjectList);
|
|
|
|
mav.addAllObjects(result);
|
|
|
|
mav.addAllObjects(result);
|
|
|
|
|
|
|
|
mav.addObject("downloadData", dataObjectList);
|
|
|
|
|
|
|
|
mav.addObject("dataNames", hwpWriter.getFormat().getDownloadDataNames());
|
|
|
|
return mav;
|
|
|
|
return mav;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -612,7 +618,8 @@ public class Sprt01Controller extends ApplicationController {
|
|
|
|
Map<String,Object> result = hwpWriter.makeFileFromHwpFormat("list", printOption, dataObjectList);
|
|
|
|
Map<String,Object> result = hwpWriter.makeFileFromHwpFormat("list", printOption, dataObjectList);
|
|
|
|
|
|
|
|
|
|
|
|
mav.addAllObjects(result);
|
|
|
|
mav.addAllObjects(result);
|
|
|
|
|
|
|
|
mav.addObject("downloadData", dataObjectList);
|
|
|
|
|
|
|
|
mav.addObject("dataNames", hwpWriter.getFormat().getDownloadDataNames());
|
|
|
|
return mav;
|
|
|
|
return mav;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -642,7 +649,8 @@ public class Sprt01Controller extends ApplicationController {
|
|
|
|
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);
|
|
|
|
|
|
|
|
mav.addObject("downloadData", dataObjectList);
|
|
|
|
|
|
|
|
mav.addObject("dataNames", hwpWriter.getFormat().getDownloadDataNames());
|
|
|
|
return mav;
|
|
|
|
return mav;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|