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
2095e609
Commit
2095e609
authored
Sep 29, 2019
by
hanfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改订单统计
parent
a5caa32e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
OrderDateUtils.java
...in/java/com/xxfc/platform/order/Utils/OrderDateUtils.java
+1
-1
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/Utils/OrderDateUtils.java
View file @
2095e609
...
...
@@ -8,7 +8,7 @@ import java.util.Date;
public
class
OrderDateUtils
{
public
static
String
getFirstDayOfMonth
(
int
year
,
int
month
)
{
String
monthStr
=
month
<
10
?
"0"
+
month
:
String
.
valueOf
(
month
);
String
monthStr
=
String
.
valueOf
(
month
);
return
year
+
"-"
+
monthStr
+
"-"
+
"01"
;
}
...
...
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/OrderStatisticsBiz.java
View file @
2095e609
...
...
@@ -166,7 +166,7 @@ public class OrderStatisticsBiz extends BaseBiz<OrderStatisticsMapper, OrderStat
}
}
if
(
StringUtils
.
isNotBlank
(
startDay
)
&&
StringUtils
.
isNotBlank
(
endDay
))
{
mbdto
.
setTimeSlot
(
startDay
+
"
-
"
+
endDay
);
mbdto
.
setTimeSlot
(
startDay
+
"
~
"
+
endDay
);
}
else
{
mbdto
.
setTimeSlot
(
""
);
}
...
...
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