Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bill-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
bill-platform
Commits
87ce1c3a
Commit
87ce1c3a
authored
Jul 18, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加首页统计模块 统计近一周
parent
166503af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
bill-manager/src/main/java/com/mortals/xhx/base/login/web/LoginController.java
.../java/com/mortals/xhx/base/login/web/LoginController.java
+10
-0
No files found.
bill-manager/src/main/java/com/mortals/xhx/base/login/web/LoginController.java
View file @
87ce1c3a
...
@@ -211,6 +211,10 @@ public class LoginController extends BaseCRUDJsonBodyMappingController<UserServi
...
@@ -211,6 +211,10 @@ public class LoginController extends BaseCRUDJsonBodyMappingController<UserServi
PhQueueStatQuery
statThirtyQuery
=
new
PhQueueStatQuery
();
PhQueueStatQuery
statThirtyQuery
=
new
PhQueueStatQuery
();
statThirtyQuery
.
setTimeStart
(
DateUtil
.
offsetDay
(
new
Date
(),
-
30
).
toDateStr
());
statThirtyQuery
.
setTimeStart
(
DateUtil
.
offsetDay
(
new
Date
(),
-
30
).
toDateStr
());
statThirtyQuery
.
setTimeEnd
(
DateUtil
.
today
());
statThirtyQuery
.
setTimeEnd
(
DateUtil
.
today
());
statThirtyQuery
.
setHallName
(
""
);
statThirtyQuery
.
setWindowFromnum
(
""
);
statThirtyQuery
.
setSectionName
(
""
);
statThirtyQuery
.
setBusiness
(
""
);
statThirtyQuery
.
setGroupList
(
Arrays
.
asList
(
"year"
,
"month"
,
"day"
));
statThirtyQuery
.
setGroupList
(
Arrays
.
asList
(
"year"
,
"month"
,
"day"
));
List
<
PhQueueStatEntity
>
thirtyStatList
=
phQueueStatService
.
find
(
statThirtyQuery
,
pageInfo
,
getContext
()).
getList
();
List
<
PhQueueStatEntity
>
thirtyStatList
=
phQueueStatService
.
find
(
statThirtyQuery
,
pageInfo
,
getContext
()).
getList
();
if
(!
ObjectUtils
.
isEmpty
(
thirtyStatList
))
{
if
(!
ObjectUtils
.
isEmpty
(
thirtyStatList
))
{
...
@@ -228,6 +232,12 @@ public class LoginController extends BaseCRUDJsonBodyMappingController<UserServi
...
@@ -228,6 +232,12 @@ public class LoginController extends BaseCRUDJsonBodyMappingController<UserServi
statThirtyQuery
.
setTimeStart
(
DateUtil
.
offsetDay
(
new
Date
(),
-
30
).
toDateStr
());
statThirtyQuery
.
setTimeStart
(
DateUtil
.
offsetDay
(
new
Date
(),
-
30
).
toDateStr
());
statThirtyQuery
.
setTimeEnd
(
DateUtil
.
today
());
statThirtyQuery
.
setTimeEnd
(
DateUtil
.
today
());
log
.
info
(
statThirtyQuery
.
getTimeStart
()+
"---"
+
statThirtyQuery
.
getTimeEnd
());
log
.
info
(
statThirtyQuery
.
getTimeStart
()+
"---"
+
statThirtyQuery
.
getTimeEnd
());
statThirtyQuery
.
setHallName
(
""
);
statThirtyQuery
.
setWindowFromnum
(
""
);
statThirtyQuery
.
setSectionName
(
""
);
statThirtyQuery
.
setPjOption
(
""
);
statThirtyQuery
.
setGroupList
(
Arrays
.
asList
(
"year"
,
"month"
,
"day"
));
statThirtyQuery
.
setGroupList
(
Arrays
.
asList
(
"year"
,
"month"
,
"day"
));
List
<
PjEvaluateStatEntity
>
thirtyStatList
=
pjEvaluateStatService
.
find
(
statThirtyQuery
,
pageInfo
,
getContext
()).
getList
();
List
<
PjEvaluateStatEntity
>
thirtyStatList
=
pjEvaluateStatService
.
find
(
statThirtyQuery
,
pageInfo
,
getContext
()).
getList
();
if
(!
ObjectUtils
.
isEmpty
(
thirtyStatList
))
{
if
(!
ObjectUtils
.
isEmpty
(
thirtyStatList
))
{
...
...
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