Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
082297bb
Commit
082297bb
authored
Oct 14, 2019
by
hanfeng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-order-statistics' into dev
parents
894ad828
85d45f47
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
OrderQuery.java
...rc/main/java/com/xxfc/platform/order/pojo/OrderQuery.java
+7
-0
OrderStatisticsBiz.java
.../java/com/xxfc/platform/order/biz/OrderStatisticsBiz.java
+1
-1
No files found.
xx-order/xx-order-api/src/main/java/com/xxfc/platform/order/pojo/OrderQuery.java
View file @
082297bb
package
com
.
xxfc
.
platform
.
order
.
pojo
;
import
lombok.Data
;
import
org.joda.time.DateTime
;
/**
* 会员订单统计条件
...
...
@@ -26,4 +27,10 @@ public class OrderQuery {
*/
private
Integer
type
=
1
;
public
Long
getEndTime
()
{
if
(
endTime
!=
null
)
{
endTime
=
endTime
+(
24
*
60
*
60
*
1000
);
}
return
endTime
;
}
}
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/OrderStatisticsBiz.java
View file @
082297bb
...
...
@@ -95,7 +95,7 @@ public class OrderStatisticsBiz extends BaseBiz<OrderStatisticsMapper, OrderStat
//按每天分类
if
(
CollectionUtil
.
isEmpty
(
membersOrderList
))
{
return
null
;
return
PageResult
.
nowPageResult
(
query
.
getPage
(),
query
.
getLimit
(),
Lists
.
newArrayList
())
;
}
//按每天分类
if
(
CollectionUtil
.
isEmpty
(
memberLevels
))
{
...
...
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