Commit 59692f7c authored by nie'hong's avatar nie'hong

完善工时统计

parent fa1da5aa
......@@ -7,6 +7,10 @@
<facet type="web" name="Web">
<configuration>
<webroots />
<sourceRoots>
<root url="file://$MODULE_DIR$/src/main/java" />
<root url="file://$MODULE_DIR$/src/main/resources" />
</sourceRoots>
</configuration>
</facet>
</component>
......@@ -16,6 +20,7 @@
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/test" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
......
......@@ -1016,9 +1016,7 @@ public class StatisticsServiceImpl implements StatisticsService {
cell.setCellStyle(ordinaryCellStyle);
}
}
projectStatisticsByMonths.clear();
projectStatisticsByMonths1.clear();
projectStatisticsByMonths2.clear();
}
......
......@@ -153,6 +153,7 @@ public class StatisticsController extends BaseController {
response.flushBuffer();
ServletOutputStream outputStream = response.getOutputStream();
sheets.write(outputStream);
outputStream.flush();
outputStream.close();
sheets.close();
} catch (Exception e) {
......
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