Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
work_service
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
licc
work_service
Commits
59692f7c
Commit
59692f7c
authored
Mar 12, 2021
by
nie'hong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善工时统计
parent
fa1da5aa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
wisenergy-mapper.iml
wisenergy-mapper/wisenergy-mapper.iml
+5
-0
StatisticsServiceImpl.java
...java/cn/wisenergy/service/impl/StatisticsServiceImpl.java
+1
-3
StatisticsController.java
...energy/web/admin/controller/app/StatisticsController.java
+1
-0
No files found.
wisenergy-mapper/wisenergy-mapper.iml
View file @
59692f7c
...
@@ -7,6 +7,10 @@
...
@@ -7,6 +7,10 @@
<facet
type=
"web"
name=
"Web"
>
<facet
type=
"web"
name=
"Web"
>
<configuration>
<configuration>
<webroots
/>
<webroots
/>
<sourceRoots>
<root
url=
"file://$MODULE_DIR$/src/main/java"
/>
<root
url=
"file://$MODULE_DIR$/src/main/resources"
/>
</sourceRoots>
</configuration>
</configuration>
</facet>
</facet>
</component>
</component>
...
@@ -16,6 +20,7 @@
...
@@ -16,6 +20,7 @@
<content
url=
"file://$MODULE_DIR$"
>
<content
url=
"file://$MODULE_DIR$"
>
<sourceFolder
url=
"file://$MODULE_DIR$/src/main/resources"
type=
"java-resource"
/>
<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/main/java"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test"
isTestSource=
"true"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/target"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/target"
/>
</content>
</content>
<orderEntry
type=
"inheritedJdk"
/>
<orderEntry
type=
"inheritedJdk"
/>
...
...
wisenergy-service/src/main/java/cn/wisenergy/service/impl/StatisticsServiceImpl.java
View file @
59692f7c
...
@@ -1016,9 +1016,7 @@ public class StatisticsServiceImpl implements StatisticsService {
...
@@ -1016,9 +1016,7 @@ public class StatisticsServiceImpl implements StatisticsService {
cell
.
setCellStyle
(
ordinaryCellStyle
);
cell
.
setCellStyle
(
ordinaryCellStyle
);
}
}
}
}
projectStatisticsByMonths
.
clear
();
projectStatisticsByMonths1
.
clear
();
projectStatisticsByMonths2
.
clear
();
}
}
...
...
wisenergy-web-admin/src/main/java/cn/wisenergy/web/admin/controller/app/StatisticsController.java
View file @
59692f7c
...
@@ -153,6 +153,7 @@ public class StatisticsController extends BaseController {
...
@@ -153,6 +153,7 @@ public class StatisticsController extends BaseController {
response
.
flushBuffer
();
response
.
flushBuffer
();
ServletOutputStream
outputStream
=
response
.
getOutputStream
();
ServletOutputStream
outputStream
=
response
.
getOutputStream
();
sheets
.
write
(
outputStream
);
sheets
.
write
(
outputStream
);
outputStream
.
flush
();
outputStream
.
close
();
outputStream
.
close
();
sheets
.
close
();
sheets
.
close
();
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment