Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_ht
Overview
Overview
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
pseer
gxpt_ht
Commits
84281c5c
Commit
84281c5c
authored
Oct 12, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改数据统计
parent
864ac06c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
OrderVo.java
...-system/src/main/java/share/system/domain/vo/OrderVo.java
+4
-0
SOrderServiceImpl.java
...ain/java/share/system/service/impl/SOrderServiceImpl.java
+2
-2
No files found.
share-system/src/main/java/share/system/domain/vo/OrderVo.java
View file @
84281c5c
...
...
@@ -130,6 +130,10 @@ public class OrderVo {
private
BigDecimal
balance
;
private
BigDecimal
rechargeAmount
;
private
BigDecimal
giftAmount
;
private
BigDecimal
discountRatio
;
...
...
share-system/src/main/java/share/system/service/impl/SOrderServiceImpl.java
View file @
84281c5c
...
...
@@ -3456,8 +3456,8 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
statisticsResponse
.
setStoreFee
(
statisticsResponse
.
getGroupFee
().
add
(
statisticsResponse
.
getPlatformFee
()).
add
(
statisticsResponse
.
getRechargeBalance
()));
//团购退款+平台退款+充值金额退款
statisticsResponse
.
setStoreRefundFee
(
statisticsResponse
.
getGroupRefundFee
().
add
(
statisticsResponse
.
getPlatformRefundFee
()).
add
(
statisticsResponse
.
getRechargeBalanceRefundFee
()));
//团购金额+平台支付
statisticsResponse
.
setTotalFee
(
statisticsResponse
.
getGroupFee
().
add
(
statisticsResponse
.
getPlatformFee
()));
//团购金额+平台支付
+充值金额
statisticsResponse
.
setTotalFee
(
statisticsResponse
.
getGroupFee
().
add
(
statisticsResponse
.
getPlatformFee
())
.
add
(
statisticsResponse
.
getRechargeBalance
())
);
//门店交易-门店交易退款
statisticsResponse
.
setActualFee
(
statisticsResponse
.
getStoreFee
().
subtract
(
statisticsResponse
.
getStoreRefundFee
()));
//计算开始时间和结束时间相差多少天
...
...
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