Commit 5d3efa27 authored by chase's avatar chase

fix bug

parent 691bd013
......@@ -902,12 +902,12 @@ public class ReportServiceImpl extends BaseService {
Iterator<Map.Entry<Integer, List<String>>> iterator = sumMap.entrySet().iterator();
while (iterator.hasNext()) {
Map.Entry<Integer, List<String>> entry = iterator.next();
String sumStr = "PSUM(";
String sumStr = "PSUM(\"";
for (String cellNum : entry.getValue()) {
sumStr += cellNum + ",";
}
sumStr += ")";
sumStr = sumStr.replace(",)", ")");
sumStr += "\")";
sumStr = sumStr.replace(",\")", "\")");
sumRow.getCell(entry.getKey()).setCellValue(sumStr);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment