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
b4752a48
Commit
b4752a48
authored
Jul 03, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加首页统计模块
parent
3b9153d1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
bill-manager/src/main/java/com/mortals/xhx/module/ph/service/impl/PhQueueStatServiceImpl.java
...ls/xhx/module/ph/service/impl/PhQueueStatServiceImpl.java
+3
-3
bill-manager/src/main/java/com/mortals/xhx/module/pj/service/impl/PjEvaluateStatServiceImpl.java
...xhx/module/pj/service/impl/PjEvaluateStatServiceImpl.java
+3
-3
bill-manager/src/main/java/com/mortals/xhx/module/stat/service/impl/StatServiceImpl.java
...mortals/xhx/module/stat/service/impl/StatServiceImpl.java
+3
-3
No files found.
bill-manager/src/main/java/com/mortals/xhx/module/ph/service/impl/PhQueueStatServiceImpl.java
View file @
b4752a48
...
@@ -311,11 +311,11 @@ public class PhQueueStatServiceImpl extends AbstractCRUDServiceImpl<PhQueueStatD
...
@@ -311,11 +311,11 @@ public class PhQueueStatServiceImpl extends AbstractCRUDServiceImpl<PhQueueStatD
if
(!
ObjectUtils
.
isEmpty
(
query
.
getGroupList
()))
{
if
(!
ObjectUtils
.
isEmpty
(
query
.
getGroupList
()))
{
//针对groupList分组 进行排序
//针对groupList分组 进行排序
if
(
query
.
getGroupList
().
contains
(
"year"
)
&&
query
.
getGroupList
().
contains
(
"month"
)
&&
query
.
getGroupList
().
contains
(
"day"
))
{
if
(
query
.
getGroupList
().
contains
(
"year"
)
&&
query
.
getGroupList
().
contains
(
"month"
)
&&
query
.
getGroupList
().
contains
(
"day"
))
{
query
.
setOrderColList
(
Arrays
.
asList
(
new
OrderCol
(
"year"
,
OrderCol
.
DESCENDING
),
new
OrderCol
(
"month"
,
OrderCol
.
DESCENDING
),
new
OrderCol
(
"day"
,
OrderCol
.
DESCENDING
)
,
new
OrderCol
(
"createTime"
)
));
query
.
setOrderColList
(
Arrays
.
asList
(
new
OrderCol
(
"year"
,
OrderCol
.
DESCENDING
),
new
OrderCol
(
"month"
,
OrderCol
.
DESCENDING
),
new
OrderCol
(
"day"
,
OrderCol
.
DESCENDING
)));
}
else
if
(
query
.
getGroupList
().
contains
(
"year"
)
&&
query
.
getGroupList
().
contains
(
"month"
))
{
}
else
if
(
query
.
getGroupList
().
contains
(
"year"
)
&&
query
.
getGroupList
().
contains
(
"month"
))
{
query
.
setOrderColList
(
Arrays
.
asList
(
new
OrderCol
(
"year"
,
OrderCol
.
DESCENDING
),
new
OrderCol
(
"month"
,
OrderCol
.
DESCENDING
)
,
new
OrderCol
(
"createTime"
)
));
query
.
setOrderColList
(
Arrays
.
asList
(
new
OrderCol
(
"year"
,
OrderCol
.
DESCENDING
),
new
OrderCol
(
"month"
,
OrderCol
.
DESCENDING
)));
}
else
if
(
query
.
getGroupList
().
contains
(
"year"
))
{
}
else
if
(
query
.
getGroupList
().
contains
(
"year"
))
{
query
.
setOrderColList
(
Arrays
.
asList
(
new
OrderCol
(
"year"
,
OrderCol
.
DESCENDING
)
,
new
OrderCol
(
"createTime"
)
));
query
.
setOrderColList
(
Arrays
.
asList
(
new
OrderCol
(
"year"
,
OrderCol
.
DESCENDING
)));
}
}
}
}
return
this
.
getDao
().
getStatList
(
query
,
pageInfo
);
return
this
.
getDao
().
getStatList
(
query
,
pageInfo
);
...
...
bill-manager/src/main/java/com/mortals/xhx/module/pj/service/impl/PjEvaluateStatServiceImpl.java
View file @
b4752a48
...
@@ -294,11 +294,11 @@ public class PjEvaluateStatServiceImpl extends AbstractCRUDServiceImpl<PjEvaluat
...
@@ -294,11 +294,11 @@ public class PjEvaluateStatServiceImpl extends AbstractCRUDServiceImpl<PjEvaluat
if
(!
ObjectUtils
.
isEmpty
(
query
.
getGroupList
()))
{
if
(!
ObjectUtils
.
isEmpty
(
query
.
getGroupList
()))
{
//针对groupList分组 进行排序
//针对groupList分组 进行排序
if
(
query
.
getGroupList
().
contains
(
"year"
)
&&
query
.
getGroupList
().
contains
(
"month"
)
&&
query
.
getGroupList
().
contains
(
"day"
))
{
if
(
query
.
getGroupList
().
contains
(
"year"
)
&&
query
.
getGroupList
().
contains
(
"month"
)
&&
query
.
getGroupList
().
contains
(
"day"
))
{
query
.
setOrderColList
(
Arrays
.
asList
(
new
OrderCol
(
"year"
,
OrderCol
.
DESCENDING
),
new
OrderCol
(
"month"
,
OrderCol
.
DESCENDING
),
new
OrderCol
(
"day"
,
OrderCol
.
DESCENDING
)
,
new
OrderCol
(
"createTime"
)
));
query
.
setOrderColList
(
Arrays
.
asList
(
new
OrderCol
(
"year"
,
OrderCol
.
DESCENDING
),
new
OrderCol
(
"month"
,
OrderCol
.
DESCENDING
),
new
OrderCol
(
"day"
,
OrderCol
.
DESCENDING
)));
}
else
if
(
query
.
getGroupList
().
contains
(
"year"
)
&&
query
.
getGroupList
().
contains
(
"month"
))
{
}
else
if
(
query
.
getGroupList
().
contains
(
"year"
)
&&
query
.
getGroupList
().
contains
(
"month"
))
{
query
.
setOrderColList
(
Arrays
.
asList
(
new
OrderCol
(
"year"
,
OrderCol
.
DESCENDING
),
new
OrderCol
(
"month"
,
OrderCol
.
DESCENDING
)
,
new
OrderCol
(
"createTime"
)
));
query
.
setOrderColList
(
Arrays
.
asList
(
new
OrderCol
(
"year"
,
OrderCol
.
DESCENDING
),
new
OrderCol
(
"month"
,
OrderCol
.
DESCENDING
)));
}
else
if
(
query
.
getGroupList
().
contains
(
"year"
))
{
}
else
if
(
query
.
getGroupList
().
contains
(
"year"
))
{
query
.
setOrderColList
(
Arrays
.
asList
(
new
OrderCol
(
"year"
,
OrderCol
.
DESCENDING
)
,
new
OrderCol
(
"createTime"
)
));
query
.
setOrderColList
(
Arrays
.
asList
(
new
OrderCol
(
"year"
,
OrderCol
.
DESCENDING
)));
}
}
}
}
return
this
.
getDao
().
getStatList
(
query
,
pageInfo
);
return
this
.
getDao
().
getStatList
(
query
,
pageInfo
);
...
...
bill-manager/src/main/java/com/mortals/xhx/module/stat/service/impl/StatServiceImpl.java
View file @
b4752a48
...
@@ -64,11 +64,11 @@ public class StatServiceImpl extends AbstractCRUDServiceImpl<StatDao, StatEntity
...
@@ -64,11 +64,11 @@ public class StatServiceImpl extends AbstractCRUDServiceImpl<StatDao, StatEntity
if
(!
ObjectUtils
.
isEmpty
(
query
.
getGroupList
()))
{
if
(!
ObjectUtils
.
isEmpty
(
query
.
getGroupList
()))
{
//针对groupList分组 进行排序
//针对groupList分组 进行排序
if
(
query
.
getGroupList
().
contains
(
"year"
)
&&
query
.
getGroupList
().
contains
(
"month"
)
&&
query
.
getGroupList
().
contains
(
"day"
))
{
if
(
query
.
getGroupList
().
contains
(
"year"
)
&&
query
.
getGroupList
().
contains
(
"month"
)
&&
query
.
getGroupList
().
contains
(
"day"
))
{
query
.
setOrderColList
(
Arrays
.
asList
(
new
OrderCol
(
"year"
,
OrderCol
.
DESCENDING
),
new
OrderCol
(
"month"
,
OrderCol
.
DESCENDING
),
new
OrderCol
(
"day"
,
OrderCol
.
DESCENDING
)
,
new
OrderCol
(
"createTime"
)
));
query
.
setOrderColList
(
Arrays
.
asList
(
new
OrderCol
(
"year"
,
OrderCol
.
DESCENDING
),
new
OrderCol
(
"month"
,
OrderCol
.
DESCENDING
),
new
OrderCol
(
"day"
,
OrderCol
.
DESCENDING
)));
}
else
if
(
query
.
getGroupList
().
contains
(
"year"
)
&&
query
.
getGroupList
().
contains
(
"month"
))
{
}
else
if
(
query
.
getGroupList
().
contains
(
"year"
)
&&
query
.
getGroupList
().
contains
(
"month"
))
{
query
.
setOrderColList
(
Arrays
.
asList
(
new
OrderCol
(
"year"
,
OrderCol
.
DESCENDING
),
new
OrderCol
(
"month"
,
OrderCol
.
DESCENDING
)
,
new
OrderCol
(
"createTime"
)
));
query
.
setOrderColList
(
Arrays
.
asList
(
new
OrderCol
(
"year"
,
OrderCol
.
DESCENDING
),
new
OrderCol
(
"month"
,
OrderCol
.
DESCENDING
)));
}
else
if
(
query
.
getGroupList
().
contains
(
"year"
))
{
}
else
if
(
query
.
getGroupList
().
contains
(
"year"
))
{
query
.
setOrderColList
(
Arrays
.
asList
(
new
OrderCol
(
"year"
,
OrderCol
.
DESCENDING
)
,
new
OrderCol
(
"createTime"
)
));
query
.
setOrderColList
(
Arrays
.
asList
(
new
OrderCol
(
"year"
,
OrderCol
.
DESCENDING
)));
}
}
}
}
return
this
.
getDao
().
getStatList
(
query
,
pageInfo
);
return
this
.
getDao
().
getStatList
(
query
,
pageInfo
);
...
...
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