견문통계 엑셀 수정중..
parent
54db411eed
commit
4f17dbdb80
|
|
@ -205,19 +205,26 @@ public class ReportStatsController {
|
||||||
if ("C".equals(searchVO.getStatsType())) {
|
if ("C".equals(searchVO.getStatsType())) {
|
||||||
header.put("placename", messageSource.getMessage("report.view.division", null, locale));
|
header.put("placename", messageSource.getMessage("report.view.division", null, locale));
|
||||||
header.put("total", messageSource.getMessage("report.stats.total", null, locale));
|
header.put("total", messageSource.getMessage("report.stats.total", null, locale));
|
||||||
for (String category : reportSearchVO.getCategory1()) {
|
if(reportSearchVO.getCategory1()!=null){
|
||||||
header.put(category + "_1", messageSource.getMessage("report.category." + category + "_1", null, locale));
|
for (String category : reportSearchVO.getCategory1()) {
|
||||||
|
header.put(category + "_1", messageSource.getMessage("report.category." + category + "_1", null, locale));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
for (String category : reportSearchVO.getCategory2()) {
|
if(reportSearchVO.getCategory2()!=null) {
|
||||||
header.put(category + "_2", messageSource.getMessage("report.category." + category + "_2", null, locale));
|
for (String category : reportSearchVO.getCategory2()) {
|
||||||
|
header.put(category + "_2", messageSource.getMessage("report.category." + category + "_2", null, locale));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
for (String category : reportSearchVO.getCategory3()) {
|
if(reportSearchVO.getCategory3()!=null) {
|
||||||
header.put(category + "_3", messageSource.getMessage("report.category." + category + "_3", null, locale));
|
for (String category : reportSearchVO.getCategory3()) {
|
||||||
|
header.put(category + "_3", messageSource.getMessage("report.category." + category + "_3", null, locale));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
for (String category : reportSearchVO.getCategory4()) {
|
if(reportSearchVO.getCategory4()!=null) {
|
||||||
header.put(category + "_4", messageSource.getMessage("report.category." + category + "_4", null, locale));
|
for (String category : reportSearchVO.getCategory4()) {
|
||||||
|
header.put(category + "_4", messageSource.getMessage("report.category." + category + "_4", null, locale));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Date d = new Date();
|
Date d = new Date();
|
||||||
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd");
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue